File redmine-routes_sidekiq.patch of Package redmine
--- a/config/routes.rb 2025-03-11 00:30:06.000000000 +0100
+++ b/config/routes.rb 2025-04-19 18:13:56.420174039 +0200
@@ -17,6 +17,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+require 'sidekiq/web'
+require_relative '../lib/openSUSE/admin_constraint.rb'
+
Rails.application.routes.draw do
root :to => 'welcome#index', :as => 'home'
@@ -377,6 +380,8 @@
match '/admin/projects_context_menu', :to => 'context_menus#projects', :as => 'projects_context_menu', :via => [:get, :post]
+ mount Sidekiq::Web => '/admin/sidekiq', :constraints => Opensuse::AdminConstraint.new
+
resources :auth_sources do
member do
get 'test_connection', :as => 'try_connection'