Sha256: 2b5ff9a926d4b943f55dc355f56197ee65e4a0359eedf3ba364d95fd66e66627

Contents?: true

Size: 256 Bytes

Versions: 12

Compression:

Stored size: 256 Bytes

Contents

# ActionMailer::Base loads the default_url_options on startup via its Railtie
def change_default_url_options(new_options)
  Rails.application.config.action_mailer.default_url_options = new_options
  ActionMailer::Base.default_url_options = new_options
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
roadie-2.4.3 spec/support/change_url_options.rb
md-roadie-2.4.2.md.1 spec/support/change_url_options.rb
roadie-2.4.2 spec/support/change_url_options.rb
roadie-2.4.1 spec/support/change_url_options.rb
roadie-2.4.0 spec/support/change_url_options.rb
roadie-2.3.4 spec/support/change_url_options.rb
roadie-2.3.3 spec/support/change_url_options.rb
roadie-2.3.2 spec/support/change_url_options.rb
roadie-2.3.1 spec/support/change_url_options.rb
roadie-2.3.0 spec/support/change_url_options.rb
roadie-2.3.0.pre1 spec/support/change_url_options.rb
roadie-2.2.0 spec/support/change_url_options.rb