allura
Revisão | 3acd43468b51a6917784b2489797415606237ee9 (tree) |
---|---|
Hora | 2012-07-07 00:47:08 |
Autor | Igor Bondarenko <jetmind2@gmai...> |
Commiter | Yaroslav Luzin |
[#4481] ticket:100 Fix test.
Change @expose('json') to @expose('json:') to prevent test fail.
@@ -1188,7 +1188,7 @@ class TicketController(BaseController): | ||
1188 | 1188 | self.ticket.unsubscribe() |
1189 | 1189 | redirect(request.referer) |
1190 | 1190 | |
1191 | - @expose('json') | |
1191 | + @expose('json:') | |
1192 | 1192 | @require_post() |
1193 | 1193 | def vote(self, vote): |
1194 | 1194 | require_authenticated() |