Last active
December 26, 2015 00:39
-
-
Save coop/7065649 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app(master*)$ bin/rake routes | |
Prefix Verb URI Pattern Controller#Action | |
heroix_sign_up GET /:country/sign_up(.:format) heroix/users#new {:country=>"au"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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