[openSUSE/open-build-service] 36ea1d: Routing, don't redefine `draw` method
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 36ea1d4c268891eb4b223f45009c4adc85ea1c84 https://github.com/openSUSE/open-build-service/commit/36ea1d4c268891eb4b223f... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M src/api/config/routes.rb A src/api/config/routes/api.rb R src/api/config/routes/api_routes.rb A src/api/config/routes/webui.rb R src/api/config/routes/webui_routes.rb Log Message: ----------- Routing, don't redefine `draw` method Back in the time, this method was retired from Rails. It was a nice idea to introduce it in the code. Now that this method has been reintroduced in Rails, we don't need to overwrite it. Commit: e70475a41a25d028d6eb0d5500ce56d1f818349a https://github.com/openSUSE/open-build-service/commit/e70475a41a25d028d6eb0d... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M src/api/config/routes/api.rb M src/api/config/routes/webui.rb Log Message: ----------- Don't surround routing files with .routes.draw blocks This is recommended in the "Rails Routing from the Outside In" guide. Commit: 0173478b303156dde55d5afc54835a45adcd2fde https://github.com/openSUSE/open-build-service/commit/0173478b303156dde55d5a... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-04-04 (Thu, 04 Apr 2024) Changed paths: M src/api/config/routes.rb A src/api/config/routes/api.rb R src/api/config/routes/api_routes.rb A src/api/config/routes/webui.rb R src/api/config/routes/webui_routes.rb Log Message: ----------- Merge pull request #15935 from eduardoj/refactoring/use_draw_from_upstream Refactoring of routing Compare: https://github.com/openSUSE/open-build-service/compare/cbf1409b42a6...017347... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Henne Vogelsang