mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Update flash logging message #2808
This commit is contained in:
parent
e3a8604ec4
commit
09deb2b187
1 changed files with 5 additions and 1 deletions
|
@ -8,7 +8,11 @@ module ActionDispatch
|
|||
|
||||
if flash_hash && (flash_hash.present? || session.key?('flash'))
|
||||
session["flash"] = flash_hash.to_session_value
|
||||
Rails.logger.info "FLASH: #{Time.now.to_s(:db)} #{session['flash']['flashes'].inspect}" if session['flash']
|
||||
|
||||
# EIS custom logging
|
||||
Rails.logger.info "USER MSG: #{Time.now.to_s(:db)} FLASH: #{session['flash']['flashes'].inspect}" if session['flash']
|
||||
# END OF EIS custom logging
|
||||
|
||||
env[KEY] = flash_hash.dup
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue