Commit 0e65d8a
Changed files (1)
config
config/application.rb
@@ -27,5 +27,7 @@ module Proof
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.
config.middleware.delete(Rack::Runtime)
+ routes.default_url_options[:host] = ENV['RAILS_HOST']
+ routes.default_url_options[:protocol] = 'https' unless Rails.env.test?
end
end