template.js 126 Bytes
Template.registerHelper( 'currentRoute', ( route ) => {
  return Session.equals( 'currentRoute', route ) ? 'active' : '';
});