I would like to ask for some suggestions on my problem with Routes. It’s
probably pretty simpel.
<%= link_to image_tag("…", :alt => “…”, :title => “…”),
Results in this URL:
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
The application also doesn’t seem to update and create brands, which
seems to come from the same problem. I pretty much copy and pasted the
model from other ones, so my guess is, that I forgot something basic.
Thanks very much!