Skip to content

Commit 9997b0f

Browse files
authored
Fixed annotation name
1 parent b18edb9 commit 9997b0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
WebfactoryHttpCacheBundle is a Symfony bundle that eases
44
[HTTP cache validation via the last modified header](https://symfony.com/doc/current/http_cache/validation.html#validation-with-the-last-modified-header).
55

6-
It provides the ```ReplaceWithNotModified``` annotation for your controller actions. This annotation can be
6+
It provides the ```ReplaceWithNotModifiedResponse``` annotation for your controller actions. This annotation can be
77
parameterised with Voters, one for each of the underlying ressources that overall determine the last modified date for
88
the response. By extracting the "last modified date of a ressource" parts into small, reusable Voters, it helps to keep
99
the controller clean and redundance-free. Compare for yourself a controller handling all by itself:

0 commit comments

Comments
 (0)