mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
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
This commit is contained in:
parent
2b43b7e838
commit
5626ee94ed
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user