mirror of
https://github.com/redmine/redmine.git
synced 2026-01-27 17:59:58 +01:00
Fix order of loading plugins' config/routes.rb (#38707).
Patch by Nishida Yuya. git-svn-id: https://svn.redmine.org/redmine/trunk@22327 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -404,7 +404,7 @@ Rails.application.routes.draw do
|
||||
|
||||
get 'robots', :to => 'welcome#robots'
|
||||
|
||||
Dir.glob File.expand_path("#{Redmine::Plugin.directory}/*") do |plugin_dir|
|
||||
Dir.glob(File.expand_path("#{Redmine::Plugin.directory}/*")).sort.each do |plugin_dir|
|
||||
file = File.join(plugin_dir, "config/routes.rb")
|
||||
if File.exist?(file)
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user