Displaying 1 result from an estimated 1 matches for "edit_brand_path".
2009 Feb 20
1
RESTful Routes not working - Switches ID and Action
Hi,
I would like to ask for some suggestions on my problem with Routes. It''s
probably pretty simpel.
This link:
<%= link_to image_tag("...", :alt => "...", :title => "..."),
edit_brand_path(brand) %>
Results in this URL:
http://localhost:3000/brands/21/edit
And echos this:
"Unknown action - No action responded to 21"
When I type http://localhost:3000/brands/edit/21, everything is fine.
There must be some problem with my resource. I have this in routes.rb
map.resourc...