Created
May 27, 2014 04:53
-
-
Save saintc0d3r/dcf2e275f92920e89cec to your computer and use it in GitHub Desktop.
config/routes.js
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
module.exports.routes = { | |
// By default, your root route (aka home page) points to a view | |
// located at `views/home/index.ejs` | |
// | |
// (This would also work if you had a file at: `/views/home.ejs`) | |
'/': { | |
controller: 'HomeController', | |
action: 'hello_world' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment