aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-06-01 23:49:46 +0200
committerGravatar Tom Willemse2013-06-01 23:49:46 +0200
commit431dd48e4a38f901ceb615325c9c792873ba5983 (patch)
treece24577b0a876fdb1ad8b7c574b7ed7397cae4e3
parent4edb806e091dfa8d709004f927606cd0f6e803ca (diff)
downloadscrumelo-431dd48e4a38f901ceb615325c9c792873ba5983.tar.gz
scrumelo-431dd48e4a38f901ceb615325c9c792873ba5983.zip
Add scrumelo-story-json to url dispatcher
-rw-r--r--scrumelo.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/scrumelo.el b/scrumelo.el
index ffad6c1..49b0ae7 100644
--- a/scrumelo.el
+++ b/scrumelo.el
@@ -184,7 +184,8 @@
`(("^/$" . scrumelo-backlog-page)
("^/js/scrumelo.js" . ,(elnode-make-send-file
(concat scrumelo--base-dir "js/scrumelo.js")))
- ("^/stories/new/$" . scrumelo-new-story))))
+ ("^/stories/new/$" . scrumelo-new-story)
+ ("^/stories/\\([a-z0-9:-]+\\)/" . scrumelo-story-json))))
(elnode-start 'scrumelo-handler :port 8028 :host "localhost")