Module: MerbAuth::Controller::SessionsBase

Defined in:
lib/merb-auth/controller/sessions_base.rb

Overview

Provides basic functionality for sessions. eg Allows login and logout.

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
# File 'lib/merb-auth/controller/sessions_base.rb', line 6

def self.included(base)
  # base.send(:skip_before, :login_required)
  base.send(:include, InstanceMethods)
  base.send(:show_action, :new, :create, :destroy)
end