Fixed issue #55.

This commit is contained in:
Parziphal 2014-01-27 08:13:26 -05:00
parent 41e5dcc8f4
commit 0af47672c5

View File

@ -116,7 +116,7 @@ class TagController extends ApplicationController
$this->render(array('xml' => $query->limit($limit)->take(), 'root' => "tags"));
// }
},
'json' => function ($s) use ($order, $limit, $query) {
'json' => function () use ($order, $limit, $query) {
$tags = $query->limit($limit)->take();
$this->render(array('json' => $tags));
}