I'm trying to use new_equipment_path, which creates the appropriate link. But, when trying to evaluate "equipment/new" I get the error below. I've included my routes (rake route). Equipment is one of those words that pluralizes to "equipment", so the singular is right (from what I know from this forum.
Any help would be appreciated.
Error:
equipment_url failed to generate from {:action=>"show", :controller=>"equipment"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["equipment", :id] - are they all satisfied?
Routes:
equipment_index GET /equipment (.:format) {:controller=>"equipment", :action=>"index"} POST /equipment (.:format) {:controller=>"equipment", :action=>"create"} new_equipment GET /equipment/new (.:format) {:controller=>"equipment", :action=>"new"} edit_equipment GET /equipment/:id/edit (.:format) {:controller=>"equipment", :action=>"edit"} equipment GET /equipment/:id (.:format) {:controller=>"equipment", :action=>"show"} PUT /equipment/:id (.:format) {:controller=>"equipment", :action=>"update"} DELETE /equipment/:id (.:format) {:controller=>"equipment", :action=>"destroy"}