Get partials loaded into FlowLayout Template


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() {

How can I replicate that? I would like to designate my master template and the partials. I tried using:

action: function(){
FlowLayout.render(‘kmMainLogin’, { main: “kmLogin”});
name: ‘login’

But nothing seems to work.


Think I found the error. Route names must have ‘/’ before the name. In my case I edited to reflect FlowRouter.route('/login',{