(function() {
  // Routing functions
  window.shared || (window.shared = {});
  
  var baseUrl = 'https://somerville-teacher-tool.herokuapp.com'; // for local hacking
  window.shared.Routes = {
    student: function(id) {
      return baseUrl + '/students/' + id;
    },
    homeroom: function(id) {
      return baseUrl + '/homerooms/' + id;
    }
  };
})();
(function() {
  // Routing functions
  window.shared || (window.shared = {});

  window.shared.Routes = {
    student: function(id) {
      return '/students/' + id;
    },
    homeroom: function(id) {
      return '/homerooms/' + id;
    }
  };
})();

Make overview page links work nicely in different environments
Make overview page links work nicely in different environments

+ baseURl shouldn't be set to production URL; this breaks the app in development and demo environments
+ Plus the URL can change over time
