I have the following route in my routes.rb:
map.resources :start, :member => { :about => :get }
The first problem is that Rails won't let me add :only =>
[:index, :about]
However the bigger problem is that when following a link in an image
map I get the following error:
Unknown action
No action responded to show. Actions: about and index
Here is the relevant area tag:
<area shape="rect" coords="385,0,450,27" href="/start/about"
alt="About">
As far as I can tell I should have a route for start/about using GET
however Rails is convinced I want the show method, which I am unaware
I was asking for.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---