Router.route('/', function () {
  this.layout('mainLayout');
  this.render('createInvitation');
});

Router.route('/view', function () {
  this.layout('mainLayout');
  this.render('viewAllInvitations');
});

Router.route('/invitation/:_id', function () {
  this.layout('mainLayout');
  this.render('viewSingleInvitation');
},
{
  name: 'viewSingleInvitation'
});

Router.route('/', function () {
  this.layout('mainLayout');
  this.render('createInvitation');
});

Router.route('/settings', function () {
  this.layout('mainLayout');
  this.render('settings');
});

Router.route('/view', function () {
  this.layout('mainLayout');
  this.render('viewAllInvitations');
});

Router.route('/invitation/:_id', function () {
  this.layout('mainLayout');
  this.render('viewSingleInvitation');
},
{
  name: 'viewSingleInvitation'
});

Add settings route