2010-04-11 23:59:18 +00:00
|
|
|
require 'lib/locomotive.rb'
|
|
|
|
|
|
|
|
Locomotive.configure do |config|
|
2010-04-10 15:25:07 +00:00
|
|
|
config.default_domain = 'example.com'
|
2010-04-13 13:24:12 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
# TODO: embed it in Locomotive
|
|
|
|
ActionMailer::Base.default_url_options[:host] = Locomotive.config.default_domain + (Rails.env.development? ? ':3000' : '')
|