logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

flashes_helper.rb (151B)


  1. # frozen_string_literal: true
  2. module FlashesHelper
  3. def user_facing_flashes
  4. flash.to_hash.slice('alert', 'error', 'notice', 'success')
  5. end
  6. end