From 4376167a04aaeed084ad93aab2e65550109235c6 Mon Sep 17 00:00:00 2001 From: Reuben Pereira Date: Fri, 26 Apr 2019 17:23:26 +0000 Subject: 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. --- app/controllers/projects/settings/operations_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/projects/settings/operations_controller.rb') 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, -- cgit v1.2.1