|
|
|
@ -10,7 +10,7 @@ namespace cgoIT\rateit\Controller;
|
|
|
|
|
|
|
|
|
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
|
|
|
use Symfony\Component\HttpFoundation\JsonResponse; |
|
|
|
|
use Symfony\Component\HttpFoundation\Response; |
|
|
|
|
use cgoIT\rateit\RateIt; |
|
|
|
|
|
|
|
|
|
class AjaxRateItController extends Controller { |
|
|
|
@ -29,6 +29,8 @@ class AjaxRateItController extends Controller {
|
|
|
|
|
|
|
|
|
|
$response = $controller->doVote(); |
|
|
|
|
$response->send(); |
|
|
|
|
|
|
|
|
|
return new Response(null); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|