In merb 1.1 I use the following code to create the Admin namespace and
various Classes required.

~ config/router.rb

  namespace "admin", :path => "admin", :name_prefix => "admin" do
    resources :categories, 'Admin::Category'
    resources :dashboards, 'Admin::Dashboard'
    resources :users, 'Admin::User'
  end

Took me a while to figure this out but if you take away the namespaced
resource name, e.g. resources :categories, 'Admin::Category', you're
get errors like "Could not find resource model ..." and I also get an
error that _filter_params-class_method can't be found..

Is this a bug?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en.

Reply via email to