allura
Revisão | b4b2d67b2e1133c1b491a33da61b96b33c3becc7 (tree) |
---|---|
Hora | 2012-07-06 21:19:49 |
Autor | Igor Bondarenko <jetmind2@gmai...> |
Commiter | Igor Bondarenko |
[#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() |