lib/rails-brochure/engine.rb in rails-brochure-0.1.1 vs lib/rails-brochure/engine.rb in rails-brochure-0.2
- old
+ new
@@ -2,10 +2,10 @@
# routes if new files habe been added
module Rails
module Brochure
class Engine < Rails::Engine
initializer "brochure routes" do |app|
- app.middleware.use "Rails::Brochure::RouteReloader"
+ app.middleware.use Rails::Brochure::RouteReloader
end if Rails.env.development?
end
end
end
\ No newline at end of file