subdominio de rieles
get '/games/:id', to: 'games#show', constraints: { subdomain: 'app' }
Lioruby
get '/games/:id', to: 'games#show', constraints: { subdomain: 'app' }