Sha256: 4436d44bc35323c5d9b757d76d75740faf1e3051e0fa40faf48b232d38233949
Contents?: true
Size: 387 Bytes
Versions: 5
Compression:
Stored size: 387 Bytes
Contents
class Chaltron::SessionsController < Devise::SessionsController after_filter :after_login, only: :create before_filter :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
5 entries across 5 versions & 1 rubygems