Module: Console::SecuredHelper

Defined in:
app/helpers/console/secured_helper.rb

Instance Method Summary collapse

Instance Method Details

#current_user_idObject



2
3
4
# File 'app/helpers/console/secured_helper.rb', line 2

def current_user_id
  controller.current_user. if controller.user_signed_in?
end