修改课程动态报错
This commit is contained in:
parent
b6b479f6f9
commit
1ab0215592
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue