files used when adding admin functionality to clearance
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with jerry:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
db/migrate
test
README.markdown

README.markdown

This is an extraction of the file changes I make when adding admin capabilities to a clearance-based site.

Included in the changes:

  • a "signed_in_admin_context" in the shoulda_macros/clearance.rb file
  • an "admin_only" before_filter
  • editing of users for admins