Sha256: 02708b93d15de4e6b2b750b23c9eef4721e517b7045b0643062aee48057705df

Contents?: true

Size: 97 Bytes

Versions: 9

Compression:

Stored size: 97 Bytes

Contents

module ApplicationHelper
  def flash_type(flash)
    flash.map { |type, msg| type }[0]
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sun-sword-0.0.9 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
sun-sword-0.0.8 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
sun-sword-0.0.7 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
sun-sword-0.0.6 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
sun-sword-0.0.5 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
sun-sword-0.0.4 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
sun-sword-0.0.3 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
sun-sword-0.0.2 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
sun-sword-0.0.1 lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb