Blame view
both/routes/public.js
641 Bytes
6dd0ad2bb
|
1 |
const publicRoutes = FlowRouter.group({ |
d4ce6ca83
|
2 |
name: 'public' |
77001041a
|
3 |
}); |
334a76815
|
4 |
publicRoutes.route( '/signup', { |
77001041a
|
5 |
name: 'signup', |
77001041a
|
6 7 8 9 |
action() { BlazeLayout.render( 'default', { yield: 'signup' } ); } }); |
334a76815
|
10 |
publicRoutes.route( '/login', { |
77001041a
|
11 |
name: 'login', |
77001041a
|
12 13 14 15 |
action() { BlazeLayout.render( 'default', { yield: 'login' } ); } }); |
334a76815
|
16 |
publicRoutes.route( '/recover-password', { |
77001041a
|
17 |
name: 'recover-password', |
77001041a
|
18 19 20 21 |
action() { BlazeLayout.render( 'default', { yield: 'recoverPassword' } ); } }); |
334a76815
|
22 |
publicRoutes.route( '/reset-password/:token', { |
77001041a
|
23 |
name: 'reset-password', |
77001041a
|
24 25 26 27 |
action() { BlazeLayout.render( 'default', { yield: 'resetPassword' } ); } }); |