Skip to content

Commit

Permalink
Update CRUDControllerExtraExportTrait.php
Browse files Browse the repository at this point in the history
Added missing return statement. Without that you get the following error: *The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller?*
  • Loading branch information
4ssil committed Apr 6, 2015
1 parent 68cd78e commit 0962158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/CRUDControllerExtraExportTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function exportAction(Request $request)
{
/* @var CRUDController $this */
try {
parent::exportAction($request);
return parent::exportAction($request);
} catch (\RuntimeException $e) {
$format = $request->get('format');

Expand Down

0 comments on commit 0962158

Please sign in to comment.