Sha256: 8b2037053dbd4a83d8d0c28385d7fad7bff8b343d1f01896f725d2cb1fec13d8
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
module WorldFlags module Rails class Engine < ::Rails::Engine initializer "setup for rails" do |app| ActionView::Base.send :include, WorldFlags::Helper::View app.config.assets.precompile << %r(flags/flag\d\d(?:_semi)?\.png$) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
world-flags-0.6.5 | lib/world_flags/rails/engine.rb |