Sha256: f2dfa19320b5973c292cbf4ed9a9d1d7da6a87ecffd44287f17eae3fda879419

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

module ControllerResources
  # Extensions for the including Rails app.
  class Engine < ::Rails::Engine
    isolate_namespace ControllerResources

    config.to_prepare do
      ApplicationController.class_eval do
        include ControllerResources::Extension
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
controller_resources-0.0.6 lib/controller_resources/engine.rb