diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-08-18 06:57:50 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-08-18 06:57:50 +0000 |
commit | 5626ee94ed8a144a423e5a7a3714176ed58014ba (patch) | |
tree | 308c26a49f01bfad7b5977629c4186a1eb95686b /lib/redmine | |
parent | 2b43b7e838ef049da7a51a3cebe662ab7b6bf2dd (diff) | |
download | redmine-5626ee94ed8a144a423e5a7a3714176ed58014ba.tar.gz redmine-5626ee94ed8a144a423e5a7a3714176ed58014ba.zip |
Required file lib/redmine/hook.rb is patching autoloaded ApplicationHelper (#20508).
Patch by Ondřej.
git-svn-id: http://svn.redmine.org/redmine/trunk@14510 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/hook.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/redmine/hook.rb b/lib/redmine/hook.rb index 7f518d8d4..419b75e25 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 -ApplicationHelper.send(:include, Redmine::Hook::Helper) +ActionView::Base.send(:include, Redmine::Hook::Helper) ActionController::Base.send(:include, Redmine::Hook::Helper) |