Sha256: 6c90774106e7d09e73949e43c8d39766d8b0d7cee4b31262eef6804de64c9c2e

Contents?: true

Size: 358 Bytes

Versions: 14

Compression:

Stored size: 358 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

14 entries across 14 versions & 1 rubygems

Version Path
overlay-1.1.0 lib/overlay/engine.rb
overlay-1.0.7 lib/overlay/engine.rb
overlay-1.0.6 lib/overlay/engine.rb
overlay-1.0.5 lib/overlay/engine.rb
overlay-1.0.4 lib/overlay/engine.rb
overlay-1.0.3 lib/overlay/engine.rb
overlay-1.0.2 lib/overlay/engine.rb
overlay-1.0.1 lib/overlay/engine.rb
overlay-1.0 lib/overlay/engine.rb
overlay-0.0.9 lib/overlay/engine.rb
overlay-0.0.8 lib/overlay/engine.rb
overlay-0.0.7 lib/overlay/engine.rb
overlay-0.0.6 lib/overlay/engine.rb
overlay-0.0.5 lib/overlay/engine.rb