clone options to be safe

pull/979/head
Markus Kahl 11 years ago
parent b0215db3d8
commit 170f63563a
  1. 2
      lib/open_project/static_routing.rb

@ -13,7 +13,7 @@ module OpenProject
included do
def default_url_options
options = ActionMailer::Base.default_url_options
options = ActionMailer::Base.default_url_options.clone
reverse_merge = lambda do |opt, value|
unless options[opt] || value.blank?

Loading…
Cancel
Save