I have managed to tweak my flow-router and not its working. The only problem now is how to get my flow-layout and fast render to render my templates. Initially I had something along these lines:
Router.route(’/login’, {
name: ‘login’,
controller: ‘KM.LoginRouter’,
action: function() {
this.render(‘kmLogin’);
}
});
How can I replicate that? I would like to designate my master template and the partials. I tried using:
FlowRouter.route(‘login’,{
action: function(){
FlowLayout.render(‘kmMainLogin’, { main: “kmLogin”});
},
name: ‘login’
})
But nothing seems to work.