adding support for attaching filters based on URI routing.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell
2012-02-28 09:28:23 -06:00
parent 01ddff5cdc
commit 5325acac64
4 changed files with 43 additions and 10 deletions

View File

@@ -98,8 +98,7 @@ switch (Request::method())
$input = $_POST;
break;
case 'PUT':
case 'DELETE':
default:
if (Request::spoofed())
{
$input = $_POST;