Class: IamController

Inherits:
ApplicationController
  • Object
show all
Includes:
IamHelper
Defined in:
app/controllers/iam_controller.rb

Instance Method Summary collapse

Methods included from IamHelper

#account_samples, #extract_attributes

Instance Method Details

#log_inObject



9
10
11
12
13
14
15
# File 'app/controllers/iam_controller.rb', line 9

def 
  return if Rails.env.production?

   

  render json: { notice: I18n.t('iam.log_in.success', name: ()) }
end

#log_outObject



17
18
19
20
21
22
23
# File 'app/controllers/iam_controller.rb', line 17

def log_out
  return if Rails.env.production?

   

  render json: { notice: I18n.t('iam.log_out.success') }
end


7
# File 'app/controllers/iam_controller.rb', line 7

def menu; end