diff options
author | Tom Willemse | 2013-07-04 21:51:31 +0200 |
---|---|---|
committer | Tom Willemse | 2013-07-04 21:51:31 +0200 |
commit | c65cde9e8e55b39ff468e4b5ce76d51fb0468d7e (patch) | |
tree | 5f9fe787c0b381cf9feef1dace2bf269f74e0e84 /scrumli.lisp | |
parent | b8fad180475a847dab845a2cc7bcf56ab274ee46 (diff) | |
download | scrumli-c65cde9e8e55b39ff468e4b5ce76d51fb0468d7e.tar.gz scrumli-c65cde9e8e55b39ff468e4b5ce76d51fb0468d7e.zip |
Add tasks to stories
Diffstat (limited to 'scrumli.lisp')
-rw-r--r-- | scrumli.lisp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scrumli.lisp b/scrumli.lisp index ef2b66a..0f563d9 100644 --- a/scrumli.lisp +++ b/scrumli.lisp @@ -80,6 +80,13 @@ 200) 403)) +(define-route tasks-new ("stories/:id/tasks/new" :method :post) + (if (logged-in-p) + (let ((description (hunchentoot:post-parameter "description"))) + (post-task id description (hunchentoot:session-value :username)) + 200) + 403)) + (define-route stories-state ("stories/state" :method :post) (if (logged-in-p) (let* ((id (hunchentoot:post-parameter "id")) |