Skip to content
Browse files

enable middleware only for production

  • Loading branch information...
1 parent f8e06d7 commit e9dba8b19357a4ca729b262653c03a95780bd316 @pedro pedro committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 init.rb
View
4 init.rb
@@ -1 +1,3 @@
-ActionController::Dispatcher.middleware.use SassOnHeroku
+if RAILS_ENV == 'production'
+ ActionController::Dispatcher.middleware.use SassOnHeroku
+end

0 comments on commit e9dba8b

Please sign in to comment.
Something went wrong with that request. Please try again.