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

Refactor button_to helper to use token_tag method #4532

Merged
merged 2 commits into from
Jan 19, 2012

Conversation

rafaelfranca
Copy link
Member

Also I added one test case to button_to with request forgery protection enabled and removed
some TODO notes

@josevalim
Copy link
Contributor

I don't think we need to create a new module. Maybe we could move token_tag to TagHelper or somewhere else?

@rafaelfranca
Copy link
Member Author

Ok. I'll move to UrlHelper. What did you think?

@rafaelfranca
Copy link
Member Author

@josevalim done

josevalim added a commit that referenced this pull request Jan 19, 2012
Refactor button_to helper to use token_tag method
@josevalim josevalim merged commit 5caf1bd into rails:master Jan 19, 2012
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

Successfully merging this pull request may close these issues.

None yet

3 participants