Blame view

both/routes/authenticated.js 359 Bytes
6dd0ad2bb   Ryan Glover   improve authentic...
1
  const authenticatedRoutes = FlowRouter.group({
d4ce6ca83   Ryan Glover   swap route-based ...
2
    name: 'authenticated'
77001041a   Ryan Glover   add support for F...
3
  });
334a76815   Ryan Glover   little tasks and ...
4
  authenticatedRoutes.route( '/', {
77001041a   Ryan Glover   add support for F...
5
    name: 'index',
77001041a   Ryan Glover   add support for F...
6
7
8
9
    action() {
      BlazeLayout.render( 'default', { yield: 'index' } );
    }
  });
6dd0ad2bb   Ryan Glover   improve authentic...
10
11
12
13
  
  authenticatedRoutes.route( '/dashboard', {
    name: 'dashboard',
    action() {
c39994410   Ryan Glover   wip converting to...
14
      BlazeLayout.render( 'default', { yield: 'dashboard' }, hello );
6dd0ad2bb   Ryan Glover   improve authentic...
15
16
    }
  });