From 1ab021559251c82d14e13492c5dce5a3260ee52d Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 20 Mar 2015 16:33:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=BE=E7=A8=8B=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plugins/acts_as_event/lib/acts_as_event.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/acts_as_event/lib/acts_as_event.rb b/lib/plugins/acts_as_event/lib/acts_as_event.rb index 42673cde7..143edd58a 100644 --- a/lib/plugins/acts_as_event/lib/acts_as_event.rb +++ b/lib/plugins/acts_as_event/lib/acts_as_event.rb @@ -72,7 +72,7 @@ module Redmine def event_url(options = {}) option = event_options[:url] if option.is_a?(Proc) - option.call(self).merge(options) + option.call(self).merge(options) if option.call(self) elsif option.is_a?(Hash) option.merge(options) elsif option.is_a?(Symbol)