Fixed issue #55.
This commit is contained in:
parent
41e5dcc8f4
commit
0af47672c5
@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user