Sha256: b7b8e207180e659a8ac65db0fd9ae8bb171ef8a31f137dcc9bbfbd407aba1c2b
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
module WorldFlags module Rails class Engine < ::Rails::Engine initializer "setup for rails" do |app| ActionView::Base.send :include, WorldFlags::Helper::View Helper::View.flag_sizes.each do |size| app.config.assets.precompile << "flags/flags#{size}.png" app.config.assets.precompile << "flags/flags#{size}_semi.png" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
world-flags-0.6.6 | lib/world_flags/rails/engine.rb |