Module: DeviseCurrentAttributes

Extended by:
ActiveSupport::Concern
Defined in:
app/controllers/concerns/devise_current_attributes.rb

Instance Method Summary collapse

Instance Method Details

#set_current_userObject



8
9
10
11
12
# File 'app/controllers/concerns/devise_current_attributes.rb', line 8

def set_current_user
  if current_user
    Current.user = current_user
  end
end