diff options
author | Reuben Pereira <rpereira@gitlab.com> | 2019-04-26 17:23:26 +0000 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-04-26 17:23:26 +0000 |
commit | 4376167a04aaeed084ad93aab2e65550109235c6 (patch) | |
tree | 99fa950932bf6ea5c0d453c9d4494a0adb0c16f3 /app/controllers/projects/settings | |
parent | bb6908cd5bcb14d70dfadbc2a16d7310bfa65445 (diff) | |
download | gitlab-ce-4376167a04aaeed084ad93aab2e65550109235c6.tar.gz |
Add ProjectMetricsDashboardSetting model and table
This new table will be used to store the external_dashboard_url which
allows users to add a link to their external dashboards (ex Grafana)
to the Metrics dashboard.
Diffstat (limited to 'app/controllers/projects/settings')
-rw-r--r-- | app/controllers/projects/settings/operations_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/settings/operations_controller.rb b/app/controllers/projects/settings/operations_controller.rb index 1fafc33e917..5cfb0ac307d 100644 --- a/app/controllers/projects/settings/operations_controller.rb +++ b/app/controllers/projects/settings/operations_controller.rb @@ -56,6 +56,8 @@ module Projects # overridden in EE def permitted_project_params { + metrics_setting_attributes: [:external_dashboard_url], + error_tracking_setting_attributes: [ :enabled, :api_host, |