diff options
author | Byron Jones <glob@mozilla.com> | 2015-05-12 15:35:45 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-05-12 15:35:45 +0200 |
commit | 0215f11d5c734cb818ed7b988b8f73e745e45179 (patch) | |
tree | 7d2c7f9b769bfa560aab4f0590597a52378ce438 /Bugzilla | |
parent | b7afadc6edb7a8f25acafaf08bd611b8ad5892ab (diff) | |
download | bugzilla-0215f11d5c734cb818ed7b988b8f73e745e45179.tar.gz bugzilla-0215f11d5c734cb818ed7b988b8f73e745e45179.tar.xz |
Bug 1146770: implement comment preview
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/WebService/Server/REST/Resources/Bug.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Server/REST/Resources/Bug.pm b/Bugzilla/WebService/Server/REST/Resources/Bug.pm index 8c73e32e6..163790b77 100644 --- a/Bugzilla/WebService/Server/REST/Resources/Bug.pm +++ b/Bugzilla/WebService/Server/REST/Resources/Bug.pm @@ -62,7 +62,7 @@ sub _rest_resources { success_code => STATUS_CREATED } }, - qr{^/bug/comment/([^/]+)$}, { + qr{^/bug/comment/(\d+)$}, { GET => { method => 'comments', params => sub { @@ -86,6 +86,11 @@ sub _rest_resources { }, }, }, + qr{^/bug/comment/render$}, { + POST => { + method => 'render_comment', + }, + }, qr{^/bug/([^/]+)/history$}, { GET => { method => 'history', |