sammy.js

Find the list of defined sammy.js routes

Sammy.js is a controller library in javascript. But sometimes we have a 404 because our route doesn't seems to be valid to sammy. How to know which route are defined by Sammy.js in a page ? Something like the ruby on rails' rake routes. Like answers we can search on app.routes. So I have something like in coffee script : jQuery.each...

Why does sammy.js never use post route?

OK so I just started using sammy.js , I don't it very well but I was able to get the basics working pretty quickly. HTML form I'm using <form id="contact_form" action="#/form" method="post"> <label for="name">Name:</label><input class="textbox" type="text" name="name" id="name" /> <label for="email">E-mail:</label><input class="textb...