lib/radiant/initializer.rb in radiant-1.1.0.beta vs lib/radiant/initializer.rb in radiant-1.1.0.rc1

- old
+ new

@@ -290,9 +290,10 @@ def initialize_metal Rails::Rack::Metal.requested_metals = configuration.metals Rails::Rack::Metal.metal_paths = ["#{RADIANT_ROOT}/app/metal"] # reset Rails default to RADIANT_ROOT Rails::Rack::Metal.metal_paths += plugin_loader.engine_metal_paths Rails::Rack::Metal.metal_paths += extension_loader.paths(:metal) + Rails::Rack::Metal.metal_paths.uniq! configuration.middleware.insert_before( :"ActionController::ParamsParser", Rails::Rack::Metal, :if => Rails::Rack::Metal.metals.any?) end