Router.configure({
    notFoundTemplate: 'pageNotFound',
    layoutTemplate: 'masterLayout',
    loadingTemplate: 'loading',
    yieldTemplates: {
        aside: {
            to: 'aside'
        },
        nav: {
            to: 'nav'
        },
        footer: {
            to: 'footer'
        },
    }
});


Router.onRun(function(){setActiveLinks();});

Router.map(function() {

    this.route('home', {
        path: '/',
        template: 'homeMain',
    });

    this.route('fullPage', {
        path: '/full',
        template: 'fullPage',
    });

    this.route('aboutPage', {
        path: '/about',
        template: 'about',
    });

    this.route('profilePage', {
        path: '/profile',
        template: 'profile',
    });

    this.route('loginNeeded', {
        path: '/loginNeeded',
        template: 'loginNeeded',
        onBeforeAction: AccountsTemplates.ensureSignedIn,
    });
});

@@ -459,94 +459,282 @@
     
-%7D);%0A%0A    this.route('fullPage', %7B%0A        path: '/full',%0A        template: 'fullPage',
+    onBeforeAction: function()%7B%0A            AccountsTemplates.setState('sgin');%0A        %7D%0A    %7D);%0A%0A    this.route('fullPage', %7B%0A        path: '/full',%0A        template: 'fullPage',%0A        onBeforeAction: function()%7B%0A            AccountsTemplates.setState('sgin');%0A        %7D
 %0A   

set state sgin on home and fullPage load