Static routing not working


So i haven’t been able to make the custom routing work using Pimcore, even though it works using annotations or the routing.yml file.

This is the pattern:

This is the error:
# No route found for "GET /post/test"


I guess you just missed an ending / in your regex (pattern)

1 Like

Looks like that solved the problem.
Also how to get the “title” parameter in the action, because $this->getParam("title"); returns not defined.

$request->get('title'); returns only the default value.