Class: IamController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- IamController
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_in ⇒ Object
9
10
11
12
13
14
15
|
# File 'app/controllers/iam_controller.rb', line 9
def log_in
return if Rails.env.production?
log_in_account account
render json: { notice: I18n.t('iam.log_in.success', name: account_name(account)) }
end
|
#log_out ⇒ Object
17
18
19
20
21
22
23
|
# File 'app/controllers/iam_controller.rb', line 17
def log_out
return if Rails.env.production?
log_out_account account
render json: { notice: I18n.t('iam.log_out.success') }
end
|
7
|
# File 'app/controllers/iam_controller.rb', line 7
def ; end
|