Skip to content

Instantly share code, notes, and snippets.

@hconceicao
Created July 26, 2011 19:43
Show Gist options
  • Save hconceicao/1107793 to your computer and use it in GitHub Desktop.
Save hconceicao/1107793 to your computer and use it in GitHub Desktop.
var routes = {
CollateralController: {
Urls: {
Index: {
get: function(id) { return "/index"; },
post: function() { return "/index"; }
}
}
}
};
routes.CollateralController.Urls.Index.post();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment