From 6233a5f765acd1d3b79653221c83643991cb4942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Mon, 5 May 2025 14:43:14 +0200 Subject: [PATCH] #1595 Redmine in a sub-uri --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5538a4e..210bc4fb 100644 --- a/README.md +++ b/README.md @@ -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 ```