Skip to content

Instantly share code, notes, and snippets.

@KidkArolis
Created May 20, 2011 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KidkArolis/982831 to your computer and use it in GitHub Desktop.
Save KidkArolis/982831 to your computer and use it in GitHub Desktop.
(function($) {
var app = $.sammy('#container', function() {
this.get('/katalogas/auto/:id', function(context) {
$.get('/katalogas/auto/id/this.params.id')
.success(function() {
//show the list
});
});
});
$(function() {
app.run();
});
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment