summaryrefslogtreecommitdiffstats
path: root/lib/redmine/hook.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-22 13:43:28 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-22 13:43:28 +0000
commit2c0928ddcf39ef3783def2625f2032c1aedb78e7 (patch)
tree7931aafc41f8e47b35dabebd27e7f3b93159fefc /lib/redmine/hook.rb
parent426777a358677235290fc347fde25cdb04e77c9d (diff)
downloadredmine-2c0928ddcf39ef3783def2625f2032c1aedb78e7.tar.gz
redmine-2c0928ddcf39ef3783def2625f2032c1aedb78e7.zip
remove spaces inside {} of lib/redmine/hook.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20478 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/hook.rb')
-rw-r--r--lib/redmine/hook.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/hook.rb b/lib/redmine/hook.rb
index 4b87f97c1..321bc9031 100644
--- a/lib/redmine/hook.rb
+++ b/lib/redmine/hook.rb
@@ -95,7 +95,7 @@ module Redmine
default_context = {:controller => self, :project => @project, :request => request, :hook_caller => self}
Redmine::Hook.call_hook(hook, default_context.merge(context))
else
- default_context = { :project => @project, :hook_caller => self }
+ default_context = {:project => @project, :hook_caller => self}
default_context[:controller] = controller if respond_to?(:controller)
default_context[:request] = request if respond_to?(:request)
Redmine::Hook.call_hook(hook, default_context.merge(context)).join(' ').html_safe