修改课程动态报错

sw_new_course
sw 10 years ago
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…
Cancel
Save