Last active
June 13, 2017 10:52
-
-
Save rileyrg/3555f1be63d4b0db32bb3ca20d23192a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$filterForm->handleRequest($request); | |
if ($filterForm->get('reset')->isClicked()) { | |
$this->addFlash( | |
'alert-warning', | |
$this->get("translator")->trans('filter.cleared', [], 'filter') | |
); | |
return new RedirectResponse($request->getPathInfo()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment