Skip to content

Commit

Permalink
Some controller hooks won't get loaded
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
liaham committed Sep 28, 2024
1 parent 4a72aaa commit 752fe9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/redmine_dmsf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 752fe9f

Please sign in to comment.