Skip to content

Commit

Permalink
[AnnotationCacheWarmer] add RedirectController to annotation cache
Browse files Browse the repository at this point in the history
This prevents to exclude the RedirectController from the warmed annotation cache which would lead to warnings when trying to use the warmed cache on read only file systems

See #29357
  • Loading branch information
jenschude authored and nicolas-grekas committed Oct 2, 2019
1 parent ff194d9 commit 6b6c246
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@
<argument type="service" id="annotations.reader" />
<argument>%kernel.cache_dir%/annotations.php</argument>
<argument type="service" id="cache.annotations" />
<argument>#^Symfony\\(?:Component\\HttpKernel\\|Bundle\\FrameworkBundle\\Controller\\(?!AbstractController$|Controller$))#</argument>
<argument>#^Symfony\\(?:Component\\HttpKernel\\|Bundle\\FrameworkBundle\\Controller\\(?!.*Controller$))#</argument>
<argument>%kernel.debug%</argument>
</service>

Expand Down

0 comments on commit 6b6c246

Please sign in to comment.