Accessible even if WebDAV is disabled. #1052

This commit is contained in:
Karel Pičman 2019-10-18 10:57:44 +02:00
parent 9c34e21ce5
commit 7488bf9010

View File

@ -30,6 +30,7 @@ module RedmineDmsf
attr_reader :public_path
def initialize(path, request, response, options)
raise NotFound if Setting.plugin_redmine_dmsf['dmsf_webdav'].blank?
@project = nil
@public_path = "#{options[:root_uri_path]}#{path}"
super(path, request, response, options)