From 431dd48e4a38f901ceb615325c9c792873ba5983 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 1 Jun 2013 23:49:46 +0200 Subject: [PATCH] Add scrumelo-story-json to url dispatcher --- scrumelo.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")