about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-06 02:25:41 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-06 02:25:41 +0100
commit1fb3e8988b017155a9c23f19afa162b58e11590d (patch)
tree0a8d5f0eb3bfd61fc6cac646c14a72528212c36c /config
parentd6cb4bbe99f16b40c5962130d19ca3336124af1b (diff)
Revert earlier fix due to new bug reports
Diffstat (limited to 'config')
-rw-r--r--config/initializers/rabl_init.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/rabl_init.rb b/config/initializers/rabl_init.rb
index 325bf0c78..f7be0c607 100644
--- a/config/initializers/rabl_init.rb
+++ b/config/initializers/rabl_init.rb
@@ -1,6 +1,6 @@
 Rabl.configure do |config|
   config.cache_all_output  = false
-  config.cache_sources     = !!Rails.env.production?
+  config.cache_sources     = Rails.env.production?
   config.include_json_root = false
   config.view_paths        = [Rails.root.join('app/views')]
 end