Hello all,
I'm relatively new to rails and have been doing ok with it but I have
run into an issue that I'm sure has a really easy solution that I just
can't seem to see.
Basically I have an app and have namespaced and admin section to it.
I'm getting the following error:
No route matches {:action=>"show", :controller=>"admin/carriers"}
The code at fault is this
<%= form_for(@carrier, :url => admin_carrier_path, :html =>
{ :multipart => true }) do |f| %>
Basically I'm trying to create a new carrier but the form won't render
due to that error. In my routes file I have the following code.
namespace :admin do
resources :carriers
end
And rake routes does show a route that should match. I'm using rails
3.0.3 if that is any help.
Any help would be greatly appreciated.