Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Feb 25, 2020
2 parents 9400a7d + b1406c6 commit 5f17a9b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions api/src/Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,14 +491,7 @@ public function datumAction(Session $session, $slug, Request $httprequest, Reque
*
*/
public function viewAction(Session $session, $slug = false, $resource = false, SjabloonService $sjabloonService, Request $httpRequest, CommonGroundService $commonGroundService, ApplicationService $applicationService, RequestService $requestService)
{

var_dump($httpRequest->getLocale());


$locale = 'nl'; // Set the language
$httpRequest->setLocale($locale);

{
$variables = $applicationService->getVariables();
$variable['slug'] = $slug;
/*
Expand Down

0 comments on commit 5f17a9b

Please sign in to comment.