Module: CaptainOveur::Authentication::ClassMethods

Defined in:
lib/captain_oveur/authentication.rb

Class Method Summary collapse

Class Method Details

.extended(controller) ⇒ Object



10
11
12
13
# File 'lib/captain_oveur/authentication.rb', line 10

def self.extended(controller)
  controller.helper_method :admin?
  controller.hide_action   :admin?, :admin_only
end