Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (5 sloc) 0.267 kB

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
Jump to Line
Something went wrong with that request. Please try again.