Sha256: f0a175e5e02d268f1bcb427d95877026c69b17df547b5515369bd9d8907eced5

Contents?: true

Size: 120 Bytes

Versions: 27

Compression:

Stored size: 120 Bytes

Contents

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

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
philosophies-suspenders-2.1.2 templates/flashes_helper.rb
philosophies-suspenders-2.1.1 templates/flashes_helper.rb
onotole-1.0.2 templates/flashes_helper.rb
onotole-1.0.0 templates/flashes_helper.rb
philosophies-suspenders-2.1.0 templates/flashes_helper.rb
philosophies-suspenders-2.0.2 templates/flashes_helper.rb
philosophies-suspenders-2.0.0 templates/flashes_helper.rb