Router.route('/', function() {
  this.render('home');
});

Router.route('/register', function() {
  this.render('register');
});

Router.route('/login', function() {
  this.render('login')
})

Router.route('/projects/:_id', {
    name: 'projects',

    layoutTemplate: 'applicationLayout',

    yieldRegions: {
      'main': { to: 'projects' }
    },

    data: function() {
      return Projects.find({owner: this.params._id});
    }
});

Router.route('/', function() {
  this.render('home');
});

Router.route('/register', function() {
  this.render('register');
});

Router.route('/login', function() {
  this.render('login')
})

Router.route('/projects', {
    name: 'projects',

    layoutTemplate: 'applicationLayout',

    yieldRegions: {
      'main': { to: 'projects' }
    },
});

Remove data field from route, not sure how to use it yet
Remove data field from route, not sure how to use it yet
