From 752fe9f4053f7f200aa580284842a76919473306 Mon Sep 17 00:00:00 2001 From: Liane Hampe Date: Sat, 28 Sep 2024 12:14:57 +0200 Subject: [PATCH] Some controller hooks won't get loaded There are several hooks in lib/redmine_dmsf.rb listed to get loaded but two of them in lib/redmine_dmsf/hooks/controllers are missing: - account_controller_hooks - search_controller_hooks Therefore, webdav digest won't be created and the search feature (not Redmine default) won't be available. --- lib/redmine_dmsf.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/redmine_dmsf.rb b/lib/redmine_dmsf.rb index 417eeaab..33babe90 100644 --- a/lib/redmine_dmsf.rb +++ b/lib/redmine_dmsf.rb @@ -72,7 +72,9 @@ # Hooks def require_hooks + require "#{File.dirname(__FILE__)}/redmine_dmsf/hooks/controllers/account_controller_hooks" require "#{File.dirname(__FILE__)}/redmine_dmsf/hooks/controllers/issues_controller_hooks" + require "#{File.dirname(__FILE__)}/redmine_dmsf/hooks/controllers/search_controller_hooks" require "#{File.dirname(__FILE__)}/redmine_dmsf/hooks/views/view_projects_form_hook" require "#{File.dirname(__FILE__)}/redmine_dmsf/hooks/views/base_view_hooks" require "#{File.dirname(__FILE__)}/redmine_dmsf/hooks/views/custom_field_view_hooks"