]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of lib/redmine/hook.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 13:43:28 +0000 (13:43 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 13:43:28 +0000 (13:43 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20478 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/hook.rb

index 4b87f97c1a3dc223c7b3974ed1724095c89b919a..321bc90311e4e3001f5c65ccb6d0980c404e4b3c 100644 (file)
@@ -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