Sha256: 7cab44700b3d1d21287e3e11e0e461f8025c10e3f125a26e7450ba9901d208e8

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

module Poodle
  class Engine < ::Rails::Engine
    isolate_namespace Poodle

    initializer "poodle.configure_rails_initialization" do |app|
      ActiveSupport.on_load :action_view do
        include Poodle::ActionView::FormHelper
        include Poodle::ActionView::ModalHelper
        include Poodle::ActionView::ThemeHelper
      end
      ActiveSupport.on_load :action_controller do
        include Poodle::DisplayHelper
        include Poodle::FlashHelper
        include Poodle::ImageHelper
        include Poodle::MetaTagsHelper
        include Poodle::NavigationHelper
        include Poodle::ParamsParserHelper
        include Poodle::TitleHelper
        include Poodle::UrlHelper
        include Poodle::AdminFunctionalitiesHelper
        helper Poodle::DisplayHelper
        helper Poodle::FlashHelper
        helper Poodle::ImageHelper
        helper Poodle::MetaTagsHelper
        helper Poodle::NavigationHelper
        helper Poodle::ParamsParserHelper
        helper Poodle::TitleHelper
        helper Poodle::UrlHelper
        helper Poodle::AdminFunctionalitiesHelper
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
poodle-rb-0.0.7 lib/poodle/engine.rb