Sha256: f9587754c89b24964b6ac7909e92f82260e8b19961f598655091a46ac183e87e
Contents?: true
Size: 432 Bytes
Versions: 1
Compression:
Stored size: 432 Bytes
Contents
module WorldFlags module Rails class Engine < ::Rails::Engine initializer "setup for rails" do puts "WorldFlags engine loaded" WorldFlags::Rails::Engine.add_view_ext end def self.add_view_ext ActionView::Base.send :include, WorldFlagsHelper end def self.add_controller_ext # ActionController::Base.send(:include, UiControllerExtensions) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
world-flags-0.1.4 | lib/world_flags/rails/engine.rb |