Make web bundle frontend controllers extend FOSRestController.