Created
October 15, 2014 21:26
-
-
Save digilord/25f286bef506127a7309 to your computer and use it in GitHub Desktop.
Sample Router
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
Router.route('home', { | |
path: '/', | |
data: {title: 'My Title'} | |
}); | |
// when you navigate to "/one" automatically render the template named "One". | |
Router.route('/one'); | |
// when you navigate to "/two" automatically render the template named "Two". | |
Router.route('/two'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment