app/models/ucb_rails/configuration/email.rb in ucb_rails-0.0.13 vs app/models/ucb_rails/configuration/email.rb in ucb_rails-0.0.14
- old
+ new
@@ -40,10 +40,10 @@
ActionMailer::Base.delivery_method = hash.fetch('delivery_method', :smtp).to_sym
end
def process_default_url_options
if hash.has_key?('default_url_options')
- ActionMailer::Base.default_url_options = hash.fetch('default_url_options')
+ ActionMailer::Base.default_url_options = hash.fetch('default_url_options').symbolize_keys
end
end
def process_raise_delivery_errors
ActionMailer::Base.raise_delivery_errors = hash.fetch('raise_delivery_errors', true)
\ No newline at end of file