Commit fa5df88d authored by jplang's avatar jplang

Redmine::Plugin.directory is an absolute path (#24007).

git-svn-id: https://svn.redmine.org/redmine/trunk@16670 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 71f161b9
......@@ -378,7 +378,7 @@ Rails.application.routes.draw do
get 'robots.txt', :to => 'welcome#robots'
Dir.glob File.expand_path("#{Redmine::Plugin.directory}/*", Rails.root) do |plugin_dir|
Dir.glob File.expand_path("#{Redmine::Plugin.directory}/*") do |plugin_dir|
file = File.join(plugin_dir, "config/routes.rb")
if File.exists?(file)
begin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment