Last active
October 27, 2015 15:24
-
-
Save radiegtya/2aeecf8c306e6627ce80 to your computer and use it in GitHub Desktop.
Meteoris Quickstart
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
/** | |
create group routes, so every router has prefix radiegtya | |
*/ | |
var groupRoutes = FlowRouter.group({ | |
prefix: '/radiegtya', | |
name: 'radiegtya', | |
}); | |
/** | |
create the main router called site, and use BlazeLayout render "meteoris_themeAdminMain" from metoris:theme-admin package, and accessing template called "radiegtya_siteIndex" | |
*/ | |
groupRoutes.route('/site', { | |
action: function() { | |
BlazeLayout.render('meteoris_themeAdminMain', {content: "radiegtya_siteIndex"}); | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment