Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c9e6b91

Browse filesBrowse files
committed
Merge pull request symfony#270 from kreischweide/master
[Book][Cache] Corrected variable
2 parents 743c42c + de704ad commit c9e6b91
Copy full SHA for c9e6b91

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎book/http_cache.rst

Copy file name to clipboardExpand all lines: book/http_cache.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ exposing a simple and efficient pattern::
643643
$response->setLastModified($article->getPublishedAt());
644644

645645
// Check that the Response is not modified for the given Request
646-
if ($response->isNotModified($request)) {
646+
if ($response->isNotModified($this->get('request'))) {
647647
// return the 304 Response immediately
648648
return $response;
649649
} else {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.