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 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 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.
--
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.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 16, '11 at 10:33p
activeOct 17, '11 at 12:05a
posts3
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Everaldo Gomes: 2 posts Nick.colgan: 1 post

People

Translate

site design / logo © 2021 Grokbase