Sha256: e375316e094f24744d1e3a38a2d035f26c88cff1c73fa4a5939293742e77ac91

Contents?: true

Size: 400 Bytes

Versions: 17

Compression:

Stored size: 400 Bytes

Contents

module EvilFront::Helpers
  # Add `application.css`, jQuery from Google CDN and `application.js`.
  #
  #   html
  #     = head_tag do
  #       = standard_assets
  def standard_assets(attributes = { })
    stylesheet_link_tag('application', media: 'all') +
      include_jquery(attributes.dup) +
      content_for(:evil_libraries) +
      javascript_include_tag('application', attributes)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
evil-front-0.5.1 lib/evil-front/helpers/standard_assets.rb
evil-front-0.5.0 lib/evil-front/helpers/standard_assets.rb
evil-front-0.4.0 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.10 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.9 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.8 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.7 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.6 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.5 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.4 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.3 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.2 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.1 lib/evil-front/helpers/standard_assets.rb
evil-front-0.3.0 lib/evil-front/helpers/standard_assets.rb
evil-front-0.2.1 lib/evil-front/helpers/standard_assets.rb
evil-front-0.2.0 lib/evil-front/helpers/standard_assets.rb
evil-front-0.1.0 lib/evil-front/helpers/standard_assets.rb