Revert "refs #324768 WebDAV workaround for the root path"

This reverts commit 5093fa179062ea95cd6859ec4cb4b438bb337143.
This commit is contained in:
Karel Pičman 2020-02-10 08:27:52 +01:00
parent 5093fa1790
commit 951dba2f8b

View File

@ -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]