Sha256: e89fa12e2804f77c825dcdcb9dbdf4dd8f2351b4613b30eeb8b443f23fbbba45

Contents?: true

Size: 490 Bytes

Versions: 1

Compression:

Stored size: 490 Bytes

Contents

module Html5
  module Rails
    class Engine < ::Rails::Engine

      # Extend application_helper
      initializer 'html5_rails_engine.helper' do |app|
        ActionController::Base.helper(Html5::Rails::BoilerplateHelper)
      end

      # Extend application_controller
      # initializer 'html5_rails_engine.controller' do |app|
      #   ActiveSupport.on_load(:action_controller) do
      #     include Html5::Rails::BoilerplateController
      #   end
      # end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html5-rails-0.0.2 lib/html5/rails/engine.rb