-
- Downloads
Render calendar feed inline when accessed from GitLab
With text/calendar as Content-Type, the browser always downloads the content as a file (even ignoring the Content-Disposition header). We want to display the content inline when accessed from GitLab, similarly to the RSS feed.
parent
1ed954e8
No related branches found
No related tags found
Showing
- app/controllers/concerns/issues_action.rb 2 additions, 10 deletionsapp/controllers/concerns/issues_action.rb
- app/controllers/concerns/issues_calendar.rb 24 additions, 0 deletionsapp/controllers/concerns/issues_calendar.rb
- app/controllers/projects/issues_controller.rb 2 additions, 8 deletionsapp/controllers/projects/issues_controller.rb
- changelogs/unreleased/47672-set_inline_content_type_for_ics.yml 5 additions, 0 deletions...logs/unreleased/47672-set_inline_content_type_for_ics.yml
- spec/features/ics/dashboard_issues_spec.rb 18 additions, 8 deletionsspec/features/ics/dashboard_issues_spec.rb
- spec/features/ics/group_issues_spec.rb 18 additions, 8 deletionsspec/features/ics/group_issues_spec.rb
- spec/features/ics/project_issues_spec.rb 18 additions, 8 deletionsspec/features/ics/project_issues_spec.rb
app/controllers/concerns/issues_calendar.rb
0 → 100644
Please register or sign in to comment