Hi Bryan L wrote:
> This is what I have in my routes.rb:
> map.with_options(:namespace => "admin") do |admin|
> admin.resources :designs
> end
You have to modify your routes as
map.namespace(:admin) do |admin|
admin.resources :designs
end
And also generate controller and model like
script/generate controller Admin::Designs
script/generate model Design #field parameters here
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---