Sha256: 026b33c9ad8c158485103c7c8ce8cd6deb130d6bf6089d3ca3ec3429d6dc0748

Contents?: true

Size: 511 Bytes

Versions: 3

Compression:

Stored size: 511 Bytes

Contents

module Fluffery
  class Railtie < Rails::Railtie
        
    initializer :after_initialize do
      # Configure ActionView with any addons.
      ActionView::Base.send :include, Fluffery::Helpers::Navigation
      ActionView::Base.send :include, Fluffery::Helpers::PageVariables
      ActionView::Base.send :include, Fluffery::Helpers::Elements
      ActionView::Base.send :include, Fluffery::Helpers::Includes
      ActionView::Base.send :default_form_builder=, Fluffery::Forms::Builder
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluffery-0.0.3 lib/fluffery/railtie.rb
fluffery-0.0.2 lib/fluffery/railtie.rb
fluffery-0.0.1 lib/fluffery/railtie.rb