Skip to content

Commit

Permalink
#1330 - Remove webtoolsRedirect() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Dec 6, 2019
1 parent b391406 commit 65d38b1
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/Mvc/Controller/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,22 +120,6 @@ protected function setJs()
return $this;
}

/**
* Returns to the WebTools
*
* @return ResponseInterface
*/
protected function webtoolsRedirect()
{
$referer = $this->request->getHTTPReferer();
if ($path = parse_url($referer, PHP_URL_PATH)) {
$this->router->handle($path);
return $this->router->wasMatched() ? $this->response->redirect($path, true) : $this->indexRedirect();
}

return $this->indexRedirect();
}

/**
* @return ResponseInterface
*/
Expand Down

0 comments on commit 65d38b1

Please sign in to comment.