Skip to content

Instantly share code, notes, and snippets.

@coop
Last active December 26, 2015 00:39
Show Gist options
  • Save coop/7065649 to your computer and use it in GitHub Desktop.
Save coop/7065649 to your computer and use it in GitHub Desktop.
app(master*)$ bin/rake routes
Prefix Verb URI Pattern Controller#Action
heroix_sign_up GET /:country/sign_up(.:format) heroix/users#new {:country=>"au"}
MyApp::Application.routes.draw do
scope '/:country', module: 'heroix', as: 'heroix', defaults: {country: 'au'} do
get '/sign_up' => 'users#new'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment