Sha256: 32204d2bee12461217aaa63458f1af45165a2222c1cd04ae9865f82b085faa64

Contents?: true

Size: 469 Bytes

Versions: 11

Compression:

Stored size: 469 Bytes

Contents

module Polygallery
  class Engine < ::Rails::Engine
    isolate_namespace Polygallery
    initializer 'polygallery_engine.action_controller' do |app|
      ActiveSupport.on_load :action_controller do

      end
    end
    initializer :append_migrations do |app|
      unless app.root.to_s == root.to_s
        config.paths['db/migrate'].expanded.each do |expanded_path|
          app.config.paths['db/migrate'] << expanded_path
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
polygallery-0.3.6 lib/polygallery/engine.rb
polygallery-0.3.5 lib/polygallery/engine.rb
polygallery-0.3.4 lib/polygallery/engine.rb
polygallery-0.3.3 lib/polygallery/engine.rb
polygallery-0.3.2 lib/polygallery/engine.rb
polygallery-0.3.1 lib/polygallery/engine.rb
polygallery-0.3.0 lib/polygallery/engine.rb
polygallery-0.2.5 lib/polygallery/engine.rb
polygallery-0.2.4 lib/polygallery/engine.rb
polygallery-0.2.3 lib/polygallery/engine.rb
polygallery-0.2.1 lib/polygallery/engine.rb