# URL is gone

**URL:** <https://www.ruby-forum.com/t/url-is-gone/113034>\
**Category:** Rails\
**Created:** [August 26, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/url-is-gone/113034 "2007-08-26T15:33:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/839c29/32.png) [@pedz](https://www.ruby-forum.com/u/pedz)\
**Post date:** [August 26, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/url-is-gone/113034/1 "2007-08-26T15:33:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pedz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/839c29/32.png) [@pedz](https://www.ruby-forum.com/u/pedz)\
**Post date:** [August 26, 2007, 3:34pm UTC](https://www.ruby-forum.com/t/url-is-gone/113034/2 "2007-08-26T15:34:31Z")

</div>

> In routes, I have:
> 
> …  
> map.resources :item\_types  
> …

Opps sorry. I have this in routes:

…  
map.resources :item\_bases  
…
