路由配置问题
This commit is contained in:
parent
5e102d24dd
commit
909e0e846b
|
@ -74,7 +74,7 @@ RedmineApp::Application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
get '/:sub_dir_name', :to => 'org_subfields#show', :as => 'show_subfield_without_id'
|
||||
|
||||
constraints(Subdomain.new) do
|
||||
get '/', to: 'organizations#show'
|
||||
end
|
||||
|
@ -1125,6 +1125,8 @@ RedmineApp::Application.routes.draw do
|
|||
|
||||
resources :at
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue