Displaying 1 result from an estimated 1 matches for "edit_foo_path".
Did you mean:
edit_food_path
2007 Feb 28
0
Deriving controller/action from a RESTful URL
If I have a URL/PATH generated via Rails routing:
edit_foo_path(foo)) => "/foo/1;edit"
...is there some way that I can take that string and get its component
parts (controller, action, id, etc)??
I''m specifically looking for a solution that doesn''t involve me coming
up with a regex. I want to rely on code with Rails (which clea...