engine/config/routes.rb in good_job-2.13.0 vs engine/config/routes.rb in good_job-2.13.1

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true GoodJob::Engine.routes.draw do - root to: 'executions#index' + root to: redirect(path: 'jobs') resources :executions, only: %i[destroy] resources :jobs, only: %i[index show] do member do @@ -18,19 +18,21 @@ end end resources :processes, only: %i[index] - scope controller: :assets do + scope :assets, controller: :assets do constraints(format: :css) do get :bootstrap, action: :bootstrap_css get :style, action: :style_css end constraints(format: :js) do get :bootstrap, action: :bootstrap_js - get :rails_ujs, action: :rails_ujs_js get :chartjs, action: :chartjs_js + get :rails_ujs, action: :rails_ujs_js + get :es_module_shims, action: :es_module_shims_js + get "modules/:module", action: :modules_js, as: :modules get :scripts, action: :scripts_js end end end