Reverse rails routing: find the action name from the URL

Viewed 5586

I understand how to turn :controller, :action, :etc into a URL. I'm looking to do the reverse, how can the action that the rails router will call be found from the URL?

2 Answers
Related