Module: FoundersToolkit::Auth::Securable::Controller

Extended by:
ActiveSupport::Concern
Included in:
SessionsController
Defined in:
lib/founders_toolkit/auth/securable/controller.rb

Instance Method Summary collapse

Instance Method Details

#sign_in(user) ⇒ Object



12
13
14
# File 'lib/founders_toolkit/auth/securable/controller.rb', line 12

def (user)
  session[:user_id] = user.id
end