pimcore-i18n icon indicating copy to clipboard operation
pimcore-i18n copied to clipboard

Dynamic Symfony Route Prefixes

Open alexej-d opened this issue 2 years ago • 0 comments

Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? no

In the following case, how would you define a dynamic path prefix instead of matching_route_key? Would it even be possible?

/**
     * @Route("{path}/{title}~pr{object}", name="project-detail", defaults={"path"=""}, requirements={"path"=".*?", "title"="[\w-]+", "object"="\d+"})
     * @Template()
     *
     * @param Request $request
     *
     * @return array
     */
    public function detailAction(Request $request)

alexej-d avatar Mar 31 '22 17:03 alexej-d