I have the basic clearance setup -
rails generate clearance:install
and
rails generate clearance:views
In my admin_controller, I have
before_filter :authorize
This makes sure the user is logged in. How would I setup 'admin' privileges on my users and make sure the user has the privlege before allowing them into the admin controller?
Is there a better solution for this?
Thanks!
Andrew