Static routing not working


#1

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"


#2

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


#3

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

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