Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Add anchor option to the link_to helper #9301

sheerun opened this Issue · 3 comments

2 participants


So I could easily add anchor to short syntax links:

= link_to user, anchor: 'settings'

Sorry @sheerun, we don't take feature requests in the bug tracker. Please make this change and submit a pull request if you'd like this feature in Rails.

That said, you can just

= link_to user, "#settings"

so this doesn't seem very useful to me.


Contributing to Rails is so hard ;)


Sorry! We have so many bugs that keeping feature requests around would make it too hard to do anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.