Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Use kernel.http_method_override parameter #562

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ framework:
trusted_proxies: ~
session: ~
fragments: ~
http_method_override: true

# Twig Configuration
twig:
Expand Down
1 change: 0 additions & 1 deletion web/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
$kernel = new AppKernel('prod', false);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
Expand Down
1 change: 0 additions & 1 deletion web/app_dev.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

$kernel = new AppKernel('dev', true);
$kernel->loadClassCache();
Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
Expand Down