that was it, thanks On Wed, Jun 10, 2009 at 11:09 PM, Carl Anderson<[email protected]> wrote: > I'm not sure if it will work, but try this: > > map.namespace(:admin) do |admin| > admin.resources :cuisines, :active_scaffold => true > end > > > from this: > > http://wiki.github.com/activescaffold/active_scaffold/restful-scaffolding > > > I had a somewhat similar problem that was fixed by that, so it may help you, > though the syntax may be off slightly. > > Carl > > On Wed, Jun 10, 2009 at 9:14 PM, Noel_g <[email protected]> wrote: >> >> Does AS work with namespaces in Rails 2.3.2? >> >> I found another thread which seemed to imply that id did, but I get >> this error >> >> Showing vendor/plugins/active_scaffold/frontends/default/views/ >> _list_header.html.erb where line #8 raised: >> >> No route matches {:action=>"show_search", :controller=>"admin/ >> cuisines", :_method=>:get} >> >> my controller is in app/controllers/admin/ >> >> and I have this in my routes.rb >> >> map.namespace(:admin) do |admin| >> admin.resources :cuisines >> end >> >> > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
