diff --git a/config/routes.rb b/config/routes.rb index ff8d4137..c8ce7945 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2658,13 +2658,13 @@ RedmineApp::Application.routes.draw do ## oauth相关 resource :sso, only: [:show, :create] + get '/:sub_dir_name', :to => 'org_subfields#show', :as => 'show_subfield_without_id' + # library resources :libraries do get :publish_success, on: :collection end - get '/:sub_dir_name', :to => 'org_subfields#show', :as => 'show_subfield_without_id' - Dir.glob File.expand_path("plugins/*", Rails.root) do |plugin_dir| file = File.join(plugin_dir, "config/routes.rb") if File.exists?(file)