Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

enable middleware only for production

  • Loading branch information...
commit e9dba8b19357a4ca729b262653c03a95780bd316 1 parent f8e06d7
@pedro pedro authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.