summaryrefslogtreecommitdiffstats
path: root/lib/redmine/hook.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/hook.rb')
-rw-r--r--lib/redmine/hook.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/redmine/hook.rb b/lib/redmine/hook.rb
index 419b75e25..7f518d8d4 100644
--- a/lib/redmine/hook.rb
+++ b/lib/redmine/hook.rb
@@ -125,11 +125,11 @@ module Redmine
end
end
end
-
+
def controller
nil
end
-
+
def config
ActionController::Base.config
end
@@ -171,5 +171,5 @@ module Redmine
end
end
-ActionView::Base.send(:include, Redmine::Hook::Helper)
+ApplicationHelper.send(:include, Redmine::Hook::Helper)
ActionController::Base.send(:include, Redmine::Hook::Helper)