Sha256: f1fac1c9e95f3ff40ef9064a938d7bc1586e7562c0077e36283ab3beed50ed89

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

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

      # Extend application_helper
      initializer 'html5_slim_rails_engine.helper' do |app|
        ActionController::Base.helper(Html5::SlimRails::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

2 entries across 2 versions & 1 rubygems

Version Path
html5-slim-rails-0.0.2 lib/html5/slim_rails/engine.rb
html5-slim-rails-0.0.1 lib/html5/slim_rails/engine.rb