lib/rails-brochure/engine.rb in rails-brochure-0.0.5 vs lib/rails-brochure/engine.rb in rails-brochure-0.0.6
- 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 if Rails.env=="Development"
+ end if Rails.env.development?
end
end
end
\ No newline at end of file