Rails route for nested model -


i have rails model nested:

# app/models/frontend/item.rb class frontend::item < item end 

when call

form_for(@frontend_item) 

it tries go '/frontend/items' path.

is there way make go '/items' instead (without inherited '/frontend')

you might have done tried

rake routes 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -