Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

files used when adding admin functionality to clearance

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 db
Octocat-spinner-32 test
Octocat-spinner-32 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
Something went wrong with that request. Please try again.