diff options
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r-- | config/routes/project.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index f153082f118..aa2410d8e00 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -252,7 +252,11 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end namespace :performance_monitoring do - resources :dashboards, only: [:create] + resources :dashboards, only: [:create] do + collection do + put '/:file_name', to: 'dashboards#update', constraints: { file_name: /.+\.yml/ } + end + end end namespace :error_tracking do |