-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webui] Set the default format of package routes to html
Fixes #2900 Since Rails 5 the routing changed to support the new API application feature in Rails. For OBS that meant that packages with a mime-like suffix, like .yaml, caused Rails to handle the response as "mime-type" format, eg. yaml, instead of html. To fix this we have to explicitly set the default format to html to route properly. Comment from the rails guys: rails/rails#28901 (comment)
- Loading branch information
Showing
1 changed file
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters