Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sections causes a link with data-method='delete' not to render a DELETE request properly on RoR #1866

Closed
djiang opened this issue Mar 12, 2013 · 2 comments

Comments

@djiang
Copy link

djiang commented Mar 12, 2013

This is the same issue as #613 but I wasn't able to comment on that issue. Github kept saying: "Comment field was blank". So I opened a new ticket.

It looks like the bug might be back in Foundation 4. I'm using with data-method='delete' and in combination with sections, and it's sending a GET request instead of a DELETE.

<div class="section-container tabs" data-section data-options="deep_linking: true">
    <section class="section">
        <p class="title"><a href="#ApiKeyAuth">API Key</a></p>
        <div class="content" data-slug="ApiKeyAuth">
            ...
            <a href="/api_directories/1/api_auths/1" class="button alert radius" data-confirm="Are you sure you want to delete this API supported auth?" data-method="delete" rel="nofollow">Delete</a>
            ...
        </div>
    </section>
    <section class="section">
        ...
    </section>
</div>
@djiang
Copy link
Author

djiang commented Mar 13, 2013

It looks like it was fixed here: #1857

@djiang djiang closed this as completed Mar 13, 2013
@djiang
Copy link
Author

djiang commented Mar 13, 2013

Patiently awaiting the next tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant