Skip to content

Commit

Permalink
Update DataExportController.php
Browse files Browse the repository at this point in the history
Resolvendo problema do método depreciado
  • Loading branch information
vitorbarros committed Mar 17, 2016
1 parent 4a30d1d commit cb9bb48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VMBDataExport/Controller/DataExportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function exportAction() {

$this->redirect_to = $data['redirect_to'];

$mainService = $this->getServiceLocator()->get('VMBDataExport\Service\MainService');
$mainService = $this->getPluginManager()->getServiceLocator()->get('VMBDataExport\Service\MainService');
$filePath = $mainService->strategy($data['type'],$data);

return $this->redirect()->toUrl($filePath);
Expand All @@ -35,4 +35,4 @@ public function exportAction() {

}

}
}

0 comments on commit cb9bb48

Please sign in to comment.