Skip to content

Instantly share code, notes, and snippets.

@kenn
Created September 14, 2014 21:32
Show Gist options
  • Save kenn/0fefd7eae31ffaa0734d to your computer and use it in GitHub Desktop.
Save kenn/0fefd7eae31ffaa0734d to your computer and use it in GitHub Desktop.
config/environments/staging.rb
require Rails.root.join('config/environments/production')
MyApp::Application.configure do
config.action_dispatch.tld_length = 2 # domain.com vs staging.domain.com
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment