Created
June 8, 2011 13:45
-
-
Save foertel/1014442 to your computer and use it in GitHub Desktop.
Turning Controller Method Argument Mapping into 404
This file contains 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
<?php | |
/** | |
* @return void | |
*/ | |
public function mapRequestArgumentsToControllerArguments() { | |
try { | |
parent::mapRequestArgumentsToControllerArguments(); | |
} catch (Tx_Extbase_MVC_Exception_InvalidArgumentValue $exception) { | |
$GLOBALS['TSFE']->pageNotFoundAndExit(); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment