Sha256: e5eb7239caded9d5bd47a54b11faa253a0aae61bc1794ddf9491c7ab4a710ae7

Contents?: true

Size: 356 Bytes

Versions: 15

Compression:

Stored size: 356 Bytes

Contents

module Overlay
  class Engine < ::Rails::Engine
    isolate_namespace Overlay

    config.after_initialize do
      ActionController::Base.class_eval do
        before_filter do
          Overlay.configuration.repositories.each do |repo_config|
            prepend_view_path repo_config.root_dest_path
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
overlay-2.3.0 lib/overlay/engine.rb
overlay-2.2.5 lib/overlay/engine.rb
overlay-2.2.4 lib/overlay/engine.rb
overlay-2.2.3 lib/overlay/engine.rb
overlay-2.2.2 lib/overlay/engine.rb
overlay-2.2.1 lib/overlay/engine.rb
overlay-2.2.0 lib/overlay/engine.rb
overlay-2.1.6 lib/overlay/engine.rb
overlay-2.1.5 lib/overlay/engine.rb
overlay-2.1.4 lib/overlay/engine.rb
overlay-2.1.3 lib/overlay/engine.rb
overlay-2.1.2 lib/overlay/engine.rb
overlay-2.1.1 lib/overlay/engine.rb
overlay-2.1.0 lib/overlay/engine.rb
overlay-2.0.0 lib/overlay/engine.rb