Skip to content

RuleMatcher by Request attribute _controller does not work #134

@awdng

Description

@awdng

The docs state a usage like attributes: { _controller: ^WhateverFrontendBundle:Page:.* } to match certain controllers/actions for caching, but i could not get it to work. After inspecting the Request object and the actual _controller value this is how i got it to work

attributes: { _controller: ^Whatever\\FrontendBundle\\Controller\\PageController\:\:.* }

Am i doing something wrong or is this a bug ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions