summaryrefslogtreecommitdiff
path: root/config/environments/development.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-14 15:10:35 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-11-17 21:34:23 +0100
commit53271b486d296fae2e290d6948a05aeb47dbea89 (patch)
tree8ee12e07be37d1bf7251d570996a2575c93538b9 /config/environments/development.rb
parent4762198959fbc2bc22981749313955b65c6d6026 (diff)
downloadgitlab-ce-53271b486d296fae2e290d6948a05aeb47dbea89.tar.gz
Make chat authorization to work [ci skip]
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 45a8c1add3e..6780dbef8e3 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -45,4 +45,7 @@ Rails.application.configure do
# Do not log asset requests
config.assets.quiet = true
+
+ # Make hot reloading to work with Grape API
+ ActiveSupport::Dependencies.explicitly_unloadable_constants << "API"
end