#1595 Redmine in a sub-uri

This commit is contained in:
Karel Pičman 2025-05-05 14:43:14 +02:00
parent 9f4d940dd1
commit 6233a5f765

View File

@ -300,7 +300,7 @@ In order to enable WebDAV module, it is necessary to put the following code into
```ruby
# Redmine DMSF's WebDAV
require File.dirname(__FILE__) + '/plugins/redmine_dmsf/lib/redmine_dmsf/webdav/custom_middleware'
require Rails.root.join('plugins', 'redmine_dmsf', 'lib', 'redmine_dmsf', 'webdav', 'custom_middleware').to_s
config.middleware.insert_before ActionDispatch::Cookies, RedmineDmsf::Webdav::CustomMiddleware
```