From 2c0928ddcf39ef3783def2625f2032c1aedb78e7 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 22 Nov 2020 13:43:28 +0000 Subject: [PATCH] remove spaces inside {} of lib/redmine/hook.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20478 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/hook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5