summaryrefslogtreecommitdiff
path: root/config/routes/issues.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/issues.rb')
-rw-r--r--config/routes/issues.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes/issues.rb b/config/routes/issues.rb
index cc4399693ed..25e59022272 100644
--- a/config/routes/issues.rb
+++ b/config/routes/issues.rb
@@ -21,6 +21,12 @@ resources :issues, concerns: :awardable, constraints: { id: /\d+/ } do
post :bulk_update
post :import_csv
post :export_csv
+
+ scope :incident do
+ get '/:id',
+ to: 'incidents#show',
+ as: :incident
+ end
end
resources :issue_links, only: [:index, :create, :destroy], as: 'links', path: 'links'