Sha256: fdce9e3faf5353b5ff9c92958a6add38945aff66096ebee90a24d12e70903a86

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

module PartiallyUseful
  class Engine < Rails::Engine
    config.partially_useful = true

    initializer :partially_useful do |app|
      if app.config.partially_useful
        ActionView::PartialRenderer.prepend PartiallyUseful::PartialRenderer
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
partially_useful-0.0.1 lib/partially_useful/engine.rb