text: Router.configure({
    layoutTemplate: 'layout'
  });
  
  Meteor.startup(function () {
    if (Meteor.isClient) {
      var location = Iron.Location.get();
      if (location.queryObject.platformOverride) {
        Session.set('platformOverride', location.queryObject.platformOverride);
      }
    }
  });
  
  Router.map(function() {
    this.route('tabs.one', {path: '/'});
    //this.route('newPost', {path: '/'});
    this.route('actionSheet');
    this.route('backdrop');
    this.route('forms', {
      data: function () {
        return {
          post: Posts.find().fetch()[0]
        };
      }
    });
  
    this.route('headersFooters');
    this.route('lists');
    this.route('postLists');
    //this.route('postDetails');
    this.route('newPost');
    this.route('loading');
    this.route('modal');
    this.route('navigation');
    this.route('navigation.one', {path: '/navigation/one'});
    this.route('navigation.two', {path: '/navigation/two'});
    this.route('navigation.three', {path: '/navigation/three'});
    this.route('popover');
    this.route('popup');
    this.route('sideMenu');
    this.route('slideBox');
    //this.route('tabs.one', {path: '/tabs/one', layoutTemplate: 'tabsLayout'});
    this.route('tabs.two', {path: '/tabs/two', layoutTemplate: 'tabsLayout'});
    this.route('tabs.three', {path: '/tabs/three', layoutTemplate: 'tabsLayout'});
    this.route('tabs.four', {path: '/tabs/four', layoutTemplate: 'tabsLayout'});
    this.route('userAccounts');
  });
  
  Router.route('/posts/:_id', {
    name: 'postDetails',
    data: function() { return Lmingposts.findOne(this.params._id); }
  });