about summary refs log tree commit diff
path: root/config/environments
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-08-24 17:56:44 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-08-24 17:56:44 +0200
commit49520d6e627e49a1f9f1b8cfa9b323450307fcc6 (patch)
tree49b3f093b1791bfa9434a4507d45944342d2dc43 /config/environments
parent68c93f8b859617fb6bb2dc5cf6c5f9a6362bf6a8 (diff)
Adding React.js, Redux, revamping dashboard
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb2
-rw-r--r--config/environments/production.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index ba0af1f57..c51d98543 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -63,6 +63,8 @@ Rails.application.configure do
     Bullet.bullet_logger = true
     Bullet.rails_logger = true
   end
+
+  config.react.variant = :development
 end
 
 require 'sidekiq/testing'
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 09b77654f..0a56d4fe0 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -80,4 +80,6 @@ Rails.application.configure do
   }
 
   config.action_mailer.delivery_method = :smtp
+
+  config.react.variant = :production
 end