Take a look at the request object:

http://guides.rubyonrails.org/action_controller_overview.html#the-request-object

Best Regards,

Everaldo

On Sun, Oct 16, 2011 at 8:33 PM, nick.colgan <[email protected]> wrote:

> What's the best way to retrieve the current path? (i.e. /posts/1)
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to