diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-16 15:06:26 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-16 15:06:26 +0000 |
commit | 84727c8209a4412e21111a07f99b0438b03232de (patch) | |
tree | 1fcfa02b01548c3cdc561186870a1c807f227f0b /config | |
parent | d2798d607e11e0ebae83ae909404834388733428 (diff) | |
download | gitlab-ce-84727c8209a4412e21111a07f99b0438b03232de.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9dbcd7fffa2..129f4b68212 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -117,7 +117,7 @@ Rails.application.routes.draw do end Gitlab.ee do - constraints(::Constraints::FeatureConstrainer.new(:analytics)) do + constraints(-> (*) { Gitlab::Analytics.any_features_enabled? }) do draw :analytics end end |