Flow router not working, page not rendering

if(Meteor.isServer) {

Meteor.methods({

 mainActive: function () {

FlowRouter.route(’/SettingsLayout’, {

name: ‘SettingsLayout’,

action() {

  // Render a template using Blaze

BlazeLayout.render('SettingsLayout');

// Can be used with BlazeLayout,

// and ReactLayout for React-based apps

console.log("SettingsLayout");

          }

      });

  }

});

}

if (Meteor.isClient) {

Template.myTemplate.events({

'click #settings': function() {

  Meteor.call('mainActive');

   console.log("Settings clicked");

},

});

}

HTML myTemplate

<img src="/setting.png" style="width:99%; height: inherit;" id="settings"/>

<div class="container">

  <h4><b>SETTINGS</b></h4>  

</div>