Sha256: 3fe4f4cb64738440abbd516fbb08ae23c40ab42e3cf22d54fdeb0a37482958af
Contents?: true
Size: 387 Bytes
Versions: 25
Compression:
Stored size: 387 Bytes
Contents
class Chaltron::SessionsController < Devise::SessionsController after_action :after_login, only: :create before_action :before_logout, only: :destroy default_log_category :login def after_login info I18n.t('chaltron.logs.login', user: current_user.display_name) end def before_logout info I18n.t('chaltron.logs.logout', user: current_user.display_name) end end
Version data entries
25 entries across 25 versions & 1 rubygems