lib/ember-cli-rails.rb in ember-cli-rails-0.0.12 vs lib/ember-cli-rails.rb in ember-cli-rails-0.0.13
- old
+ new
@@ -25,10 +25,13 @@
end
end
def enable!
prepare!
- Rails.configuration.middleware.use Middleware
+
+ if Helpers.non_production?
+ Rails.configuration.middleware.use Middleware
+ end
end
def run!
prepare!
each_app &:run