diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-04-30 10:45:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-04-30 10:45:21 +0000 |
commit | 51c8f3143c869c10e8bcb760da2b66e7d7ef229d (patch) | |
tree | bbc9bc9d8d6a48b9d6bf191a585c77f1c43a8b6b /vendor | |
parent | 0d938dff59df0584b988a3714259adafee406bde (diff) | |
download | redmine-51c8f3143c869c10e8bcb760da2b66e7d7ef229d.tar.gz redmine-51c8f3143c869c10e8bcb760da2b66e7d7ef229d.zip |
Fixes URLs in atom feeds broken by r3681 (#5403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3703 e93f8b46-1217-0410-a6f0-8f06a7374b81
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 |