diff options
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r-- | config/routes/project.rb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 79ca13e3d8c..cd9315ba2aa 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -223,11 +223,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end end - resources :boards, only: [:index, :show, :create, :update, :destroy], constraints: { id: /\d+/ } do - collection do - get :recent - end - end + resources :boards, only: [:index, :show], constraints: { id: /\d+/ } get 'releases/permalink/latest(/)(*suffix_path)', to: 'releases#latest_permalink', as: :latest_release_permalink, format: false @@ -368,6 +364,14 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resources :incidents, only: [:index] + namespace :incident_management do + resources :timeline_events, only: [] do + collection do + post :preview_markdown + end + end + end + get 'issues/incident/:id' => 'incidents#show', as: :issues_incident namespace :error_tracking do |