Module: Clearance::App::Controllers::ApplicationController

Defined in:
lib/clearance/app/controllers/application_controller.rb

Defined Under Namespace

Modules: InstanceMethods, ProtectedInstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/clearance/app/controllers/application_controller.rb', line 6

def self.included(base)
  base.class_eval do
    helper_method :current_user
    helper_method :logged_in?

    include InstanceMethods

 protected
    include ProtectedInstanceMethods
  end
end