about summary refs log tree commit diff
path: root/app/helpers/flashes_helper.rb
blob: 6c5e937098069ff66aa8eb4203ddfab59f40b312 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

module FlashesHelper
  def user_facing_flashes
    flash.to_hash.slice('alert', 'error', 'notice', 'success')
  end
end