Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add anchor option to the link_to helper #9301

Closed
sheerun opened this Issue · 3 comments

2 participants

@sheerun

So I could easily add anchor to short syntax links:

= link_to user, anchor: 'settings'
@steveklabnik
Collaborator

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.

@sheerun

Contributing to Rails is so hard ;)

@steveklabnik
Collaborator

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.