lib/rails-brochure/engine.rb in rails-brochure-0.0.3 vs lib/rails-brochure/engine.rb in rails-brochure-0.0.4
- old
+ new
@@ -3,9 +3,9 @@
module Rails
module Brochure
class Engine < Rails::Engine
initializer "brochure routes" do |app|
app.middleware.use "Rails::Brochure::RouteReloader"
- end
+ end if Rails.env=="Development"
end
end
end
\ No newline at end of file