summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand <me@anand.io>2018-10-24 17:31:09 +0000
committerStan Hu <stanhu@gmail.com>2018-10-24 17:31:09 +0000
commit1ceef5f6915b0e5714949b8e2645806f560c35e6 (patch)
tree7c90e5b07995782e5fe655ef507ddf25fe1791e5
parentd6ef6c30cb89538b0294a9e0b18855c9e1838c8a (diff)
downloadgitlab-ce-1ceef5f6915b0e5714949b8e2645806f560c35e6.tar.gz
Fix usage ping link
-rw-r--r--app/views/instance_statistics/conversational_development_index/_disabled.html.haml2
-rw-r--r--changelogs/unreleased/53070-fix-enable-usage-ping-link.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/instance_statistics/conversational_development_index/_disabled.html.haml b/app/views/instance_statistics/conversational_development_index/_disabled.html.haml
index 0a5717f75e1..b854e15d36f 100644
--- a/app/views/instance_statistics/conversational_development_index/_disabled.html.haml
+++ b/app/views/instance_statistics/conversational_development_index/_disabled.html.haml
@@ -11,4 +11,4 @@
%p
= _('Enable usage ping to get an overview of how you are using GitLab from a feature perspective.')
- if current_user.admin?
- = link_to _('Enable usage ping'), admin_application_settings_path(anchor: 'usage-statistics'), class: 'btn btn-primary'
+ = link_to _('Enable usage ping'), metrics_and_profiling_admin_application_settings_path(anchor: 'js-usage-settings'), class: 'btn btn-primary'
diff --git a/changelogs/unreleased/53070-fix-enable-usage-ping-link.yml b/changelogs/unreleased/53070-fix-enable-usage-ping-link.yml
new file mode 100644
index 00000000000..605d3679159
--- /dev/null
+++ b/changelogs/unreleased/53070-fix-enable-usage-ping-link.yml
@@ -0,0 +1,5 @@
+---
+title: "fix link to enable usage ping from convdev index"
+merge_request: 22545
+author: Anand Capur
+type: fixed