diff options
author | Imre Farkas <ifarkas@gitlab.com> | 2018-05-31 14:01:04 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-05-31 14:01:04 +0000 |
commit | 20dfe25c151cc883ce0d38b67125b5ca41e6d422 (patch) | |
tree | 9a29f05a241713f3488e6bc2e5df03c07300ef45 /config/routes/project.rb | |
parent | 2fdd8982f8204340e6413a57f46e6c41d8ecb429 (diff) | |
download | gitlab-ce-20dfe25c151cc883ce0d38b67125b5ca41e6d422.tar.gz |
Export assigned issues in iCalendar feed
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r-- | config/routes/project.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 5a1be1a8b73..6dfbd7ecd1f 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -353,6 +353,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end end + get :issues, to: 'issues#calendar', constraints: lambda { |req| req.format == :ics } resources :issues, concerns: :awardable, constraints: { id: /\d+/ } do member do post :toggle_subscription |