URL is gone

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

In routes, I have:


map.resources :item_types

Opps sorry. I have this in routes:


map.resources :item_bases

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs