Hi all
Is it possible to get the taken route’s name in a view? Something like
<%= taken_route %>
Thanks for help
Josh
Hi all
Is it possible to get the taken route’s name in a view? Something like
<%= taken_route %>
Thanks for help
Josh
On Nov 21, 7:31 am, Joshua M. [email protected]
wrote:
Hi all
Is it possible to get the taken route’s name in a view? Something like
<%= taken_route %>
Thanks for help
JoshPosted viahttp://www.ruby-forum.com/.
how about:
http://svn.techno-weenie.net/projects/plugins/routing_navigator/README
http://www.artofmission.com/articles/2007/5/22/asking-models-for-their-url
Joshua M. wrote:
Isn’t there an easier way? I just want to know the name of the route
that Rails has followed… :-/
That would be quite useful, but AFAIK it doesn’t exist. It’s been
discussed, but no one has managed it yet.
–
Josh S.
http://blog.hasmanythrough.com
Josh S. wrote:
Joshua M. wrote:
Isn’t there an easier way? I just want to know the name of the route
that Rails has followed… :-/That would be quite useful, but AFAIK it doesn’t exist. It’s been
discussed, but no one has managed it yet.–
Josh S.
http://blog.hasmanythrough.com
Too bad. Maybe the new routing system I heard of will make things
better…? In the meanwhile I’ll have to help me using sorta
workaround…
Isn’t there an easier way? I just want to know the name of the route
that Rails has followed… :-/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs