cschneid / clearance_admins forked from jerry/clearance_admins

files used when adding admin functionality to clearance

This URL has Read+Write access

name age message
file README.markdown Mon Feb 09 08:41:22 -0800 2009 added README [Jerry Richardson]
directory app/ Thu Feb 19 09:26:40 -0800 2009 added users/show.html.erb, per grempe's suggestion [Jerry Richardson]
directory db/ Mon Feb 09 08:30:10 -0800 2009 first commit [Jerry Richardson]
directory test/ Mon Feb 09 08:30:10 -0800 2009 first commit [Jerry Richardson]
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