I am using the rails-3.0 branch of
https://github.com/activescaffold/active_scaffold.git
I am also using Devise for authentication.
Using this:
namespace :admin do
resources :tropo_messages, :active_scaffold => true
end
when I request:
http://localhost:3000/admin/tropo_messages?auth_token=<my_auth_token_for_Devise>
I get:
No route matches {:active_scaffold=>true, :controller=>"admin/
tropo_messages", :auth_token=>"WZPlIIBCFC3XEcDyssx_", :action=>"show_search"}
So, it thinks that :active_scaffold is a parameter, and it thinks the
action is show_search.
What is the correct way to specify a standard RESTful resources route
in Rails 3.0 for AS?
Many thanks,
Wes
--
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.