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.2.6 templates/flashes_helper.rb
philosophies-suspenders-2.2.4 templates/flashes_helper.rb
philosophies-suspenders-2.2.3 templates/flashes_helper.rb
kazan-0.5.0 templates/flashes_helper.rb
kazan-0.4.0 templates/flashes_helper.rb
welaika-suspenders-2.28.0 templates/flashes_helper.rb
welaika-suspenders-2.27.0 templates/flashes_helper.rb
philosophies-suspenders-2.2.2 templates/flashes_helper.rb
kazan-0.3.1 templates/flashes_helper.rb
kazan-0.3.0 templates/flashes_helper.rb
kazan-0.2.4 templates/flashes_helper.rb
kazan-0.2.3 templates/flashes_helper.rb
kazan-0.2.2 templates/flashes_helper.rb
kazan-0.2.1 templates/flashes_helper.rb
kazan-0.2.0 templates/flashes_helper.rb
kazan-0.1.2 templates/flashes_helper.rb
kazan-0.1.1 templates/flashes_helper.rb
kazan-0.1.0 templates/flashes_helper.rb
philosophies-suspenders-2.2.1 templates/flashes_helper.rb
philosophies-suspenders-2.2.0 templates/flashes_helper.rb