From 82a9e0ac077f09a0efe5ae9143c10dea88e23948 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Sat, 29 Jun 2019 16:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)