Skip to content

Instantly share code, notes, and snippets.

@imjacobclark
Created June 1, 2013 18:44
Show Gist options
  • Save imjacobclark/5691330 to your computer and use it in GitHub Desktop.
Save imjacobclark/5691330 to your computer and use it in GitHub Desktop.
var Router = Backbone.Router.extend({
routes: {
"" : "main",
"about" : "about"
},
main: function() {
},
about: function(){
}
});
var app = new Router;
Meteor.startup(function () {
Backbone.history.start({pushState: true});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment