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