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
Post a Comment