|
|
@ -74,7 +74,7 @@ RedmineApp::Application.routes.draw do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
get '/:sub_dir_name', :to => 'org_subfields#show', :as => 'show_subfield_without_id'
|
|
|
|
|
|
|
|
constraints(Subdomain.new) do
|
|
|
|
constraints(Subdomain.new) do
|
|
|
|
get '/', to: 'organizations#show'
|
|
|
|
get '/', to: 'organizations#show'
|
|
|
|
end
|
|
|
|
end
|
|
|
@ -1125,6 +1125,8 @@ RedmineApp::Application.routes.draw do
|
|
|
|
|
|
|
|
|
|
|
|
resources :at
|
|
|
|
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|
|
|
|
|
Dir.glob File.expand_path("plugins/*", Rails.root) do |plugin_dir|
|
|
|
|
file = File.join(plugin_dir, "config/routes.rb")
|
|
|
|
file = File.join(plugin_dir, "config/routes.rb")
|
|
|
|
if File.exists?(file)
|
|
|
|
if File.exists?(file)
|
|
|
|