Skip to content

Instantly share code, notes, and snippets.

@d6rkaiz
Forked from kenn/staging.rb
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d6rkaiz/1711695a0517599261fd to your computer and use it in GitHub Desktop.
Save d6rkaiz/1711695a0517599261fd to your computer and use it in GitHub Desktop.
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