Skip to content

Commit a798edb

Browse files
Lukshioadamruzicka
authored andcommitted
Fixes #38698 - Missing host jobs in host details page
1 parent 420c8be commit a798edb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/routes.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
match 'job_invocations/:id/rerun', to: 'react#index', :via => [:get], as: 'rerun_job_invocation'
2323
match 'old/job_invocations/new', to: 'job_invocations#new', via: [:get], as: 'form_new_job_invocation'
2424
match 'old/job_invocations/:id/rerun', to: 'job_invocations#rerun', via: [:get, :post], as: 'form_rerun_job_invocation'
25-
get 'job_invocations/:id', to: 'react#index', as: 'job_invocation'
2625
get 'legacy/job_invocations/:id', to: 'job_invocations#show', as: 'legacy_job_invocation'
2726
match 'job_invocations_detail/:id/host_invocation/:host_id', to: 'react#index', :via => [:get], as: 'new_job_invocation_detail_by_host'
2827
get 'show_template_invocation_by_host/:host_id/job_invocation/:id', to: 'template_invocations#show_template_invocation_by_host'
@@ -41,6 +40,8 @@
4140
end
4241
end
4342

43+
get 'job_invocations/:id', to: 'react#index', as: 'job_invocation'
44+
4445
resources :remote_execution_features, :only => [:show, :index, :update]
4546

4647
# index is needed so the auto_complete_search can be constructed, otherwise autocompletion in filter does not work

0 commit comments

Comments
 (0)