thorsteinsson/jquery-routes

Why not have none response?

strongant opened this issue · 3 comments

I type http://localhost:8080/news/111/ use http-server

You are using the wrong syntax for route parameters, change line 14 to:

$.routes.add('/news/{id:int}/', newsModule.fetch);

how to call string?