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
When the constraints block is active, I get RoutingError: No route matches "/" when going to localhost:3000. If I comment the block out, it works just fine. But I need both: | |
http://example.com should render PagesController#show with params[:permalink] being 'index' | |
http://clemensk.example.com should render ProfilesController#show | |
Hints anyone? | |
Thanks! |