Hello,
I use Declarative Authorization and Authlogic and now wants to create a dashboard for the administration. About ActiveScaffold will be an overview of the different controllers are shown.
However, I have the problem that I can admin no "admin rights" to the subfolders app/controllers/admin/admin_controller. How can I do that?
Currently my Authorization_rules.rb looks like this:
authorization do
role :admin do
includes :guest
has_permission_on :admin, :to => [:index]
end
end
But that does not work! Can someone help me? Thanks