diff options
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/plugins/acts_as_event/lib/acts_as_event.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/plugins/acts_as_event/lib/acts_as_event.rb b/vendor/plugins/acts_as_event/lib/acts_as_event.rb index 364bb8cef..07d1dab96 100644 --- a/vendor/plugins/acts_as_event/lib/acts_as_event.rb +++ b/vendor/plugins/acts_as_event/lib/acts_as_event.rb @@ -66,11 +66,11 @@ module Redmine def event_url(options = {}) option = event_options[:url] if option.is_a?(Proc) - option.call(self) + option.call(self).merge(options) elsif option.is_a?(Hash) option.merge(options) elsif option.is_a?(Symbol) - send(option) + send(option).merge(options) else option end |