Blame view

both/routes/authenticated.js 352 Bytes
db5aba845   Ryan Glover   miscellaneous wor...
1
  const authenticatedRoutes = FlowRouter.group( { name: 'authenticated' } );
77001041a   Ryan Glover   add support for F...
2

334a76815   Ryan Glover   little tasks and ...
3
  authenticatedRoutes.route( '/', {
77001041a   Ryan Glover   add support for F...
4
    name: 'index',
77001041a   Ryan Glover   add support for F...
5
6
7
8
    action() {
      BlazeLayout.render( 'default', { yield: 'index' } );
    }
  });
6dd0ad2bb   Ryan Glover   improve authentic...
9
10
11
12
  
  authenticatedRoutes.route( '/dashboard', {
    name: 'dashboard',
    action() {
db5aba845   Ryan Glover   miscellaneous wor...
13
      BlazeLayout.render( 'default', { yield: 'dashboard' } );
6dd0ad2bb   Ryan Glover   improve authentic...
14
15
    }
  });