Sha256: 679984a05c2ab76ac12215515f5313679c7703f8702e52bd2cf9f028ed8be2d2

Contents?: true

Size: 166 Bytes

Versions: 27

Compression:

Stored size: 166 Bytes

Contents

module ApplicationHelper

  def render_flash
    flash.map do |name, message|
      content_tag(:p, message, class: "flash #{name}")
    end.join.html_safe
  end
end

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
devise-multi-factor-3.2.5 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.2.4 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.2.3 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.2.2 spec/rails_app/app/helpers/application_helper.rb
devise_xfactor_authentication-2.2.23 spec/rails_app/app/helpers/application_helper.rb
devise_xfactor_authentication-2.2.22 spec/rails_app/app/helpers/application_helper.rb
devise_xfactor_authentication-2.2.21 spec/rails_app/app/helpers/application_helper.rb
devise_xfactor_authentication-2.2.20 spec/rails_app/app/helpers/application_helper.rb
devise_xfactor_authentication-2.2.19 spec/rails_app/app/helpers/application_helper.rb
devise_xfactor_authentication-2.2.18 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.2.1 spec/rails_app/app/helpers/application_helper.rb
devise_two_factor_authentication-3.0.0 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.2.0 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.1.8 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.1.7 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.1.6 spec/rails_app/app/helpers/application_helper.rb
devise-multi-factor-3.1.5 spec/rails_app/app/helpers/application_helper.rb
two_factor_authentication-2.2.0 spec/rails_app/app/helpers/application_helper.rb
two_factor_authentication-2.1.1 spec/rails_app/app/helpers/application_helper.rb
two_factor_authentication-2.1.0 spec/rails_app/app/helpers/application_helper.rb