reconnect-all-routes should always be called, or compile/load won't update the route.
Merge pull request #15 from peterwang/master

(restas:define-route ...) does not update route when it is compile/load.
Added 'define-policy macros
Merge branch 'master' of github.com:archimag/restas
Use &body insted &rest in 'define-module
Changed macro DEFINE-ROUTE.

Instead key parameters are now used declarations. For example:

(restas:define-route foo ("/foo")
  (:render-method #'render-foo)
  "<h1>Hello world</h1>")

Possible types of declarations:

  :sift-variables
  :additional-variables
  :render-method
  :apply-render-method
  :content-type
  :decorators
  :http-method
  :requirement

See example https://github.com/archimag/arblog/blob/master/core/routes.lisp
Rewritten module system.

Big changes. Wait for documentation updates.
Added a new generic function 'make-route-url
Macro DEFINE-MODULE now supports :render-method declaration.
Fix RESTAS.DOC module.
Fixed bug in MAKE-ROUTE-URL.
Fixes in the examples.
some fixes
Improved :render-method declaration in define-module and added
:export-route-symbols declaration.
Check module in #'restas:start.
Sync with data-sift.
Fixes. Repeated call of define-route no longer clears a route map.
Implemented new key params for function #'start: context, url,
render-method, decorators
fix :render-method handler
Rewritten restas-swank

Usage:

Step 1: CL-USER> (asdf:operate 'asdf:load-op 'restas-swank)
Step 2: M-x restas-inspector