On 1 May 2011, at 13:37, Ralph Shnelvar wrote:
> It has to be simple ... but I can't find it.
>
> Where in the _controller_ does the anchor show up?
>
>
>
> If the link_to is to xyz#abc ...
>
> I end up at the right dispatch function
>
> def xyz
> # I get here
> end
>
> But I cannot find where to find abc.
That part of the URL (the fragment identifier) doesn't get sent to the server; it is processed locally in the browser after the document has been received from the server:
http://en.wikipedia.org/wiki/Fragment_identifier#Processing
Chris
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment