Finished category related content management

This commit is contained in:
franck
2013-09-17 13:50:01 +02:00
parent d097851522
commit 3d78af8b97
16 changed files with 486 additions and 24 deletions

View File

@@ -62,6 +62,14 @@ class BaseController extends ContainerAware
return new Response();
}
/**
* Return a JSON response
*/
protected function jsonResponse($json_data)
{
return new Response($json_data, 200, array('content-type' => 'application/json'));
}
/**
* Dispatch a Thelia event
*