Get matching route from URL in rails (again)
Posted
by fturtle
on Stack Overflow
See other posts from Stack Overflow
or by fturtle
Published on 2009-06-06T16:11:05Z
Indexed on
2010/04/19
10:03 UTC
Read the original article
Hit count: 95
ruby-on-rails
Hi,
How can I get hold of the matching route for a url in rails? Given a url, I want to query the respective controller and action. Note, the current page isn't the url in question.
This question has been posed before but wasn't answered.
Cheers.
© Stack Overflow or respective owner