diff --git a/config/routes.rb b/config/routes.rb index aa8a4a5a..e50e9c4b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -166,7 +166,7 @@ if Redmine::Plugin.installed? :redmine_dmsf end # WebDAV workaround for clients checking WebDAV availability in the root - unless Redmine::Plugin.installed?(:easy_extensions) + if Redmine::Plugin.installed?(:easy_extensions) match '/', to: lambda { |env| [405, {}, [env.to_s]] }, via: [:propfind, :options] end match '/dmsf', to: lambda { |env| [405, {}, [env.to_s]] }, via: [:propfind, :options]