In routes, I have:
...
map.resources :item_types
...
In my template I have the standard:
<td><%= link_to ''Show'', item_base
%></td>
But I get this error:
ActionView::TemplateError (undefined method `item_base_path'' for
#<ActionView::Base:0x33d0b8c>) on line #13 of
app/views/item_bases/index.html.erb:
My other resources and paths work fine.
Any ideas?
Thanks,
Perry
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---