Class: IamController

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

Instance Method Summary collapse

Instance Method Details

#log_in_asObject



2
3
4
5
6
7
8
# File 'app/controllers/iam_controller.rb', line 2

def 
   = Iam::Configuration..constantize.find(params[:id])
   Iam::Configuration..downcase, 

  name = Iam::Configuration..map{ |key| .public_send(key)}.join(' ')
  render json: { notice: I18n.t('iam.success', name: name) }
end