Is it possible to route request to controllers/actions by query string parameters? And how to do it using routing.yml file?
I mean:
/some/path?do=action1...
some_route:
url: /some/path
param: { module: module1, action: action1 }
requirements:
do: action1 <--- ???
/some/path?do=action2
some_route2
url: /some/path
param: { module: module1, action: action2 }
requirements:
do: action2 <--- ???
or some common route:
some_route:
url: /some/path?do=:action
param: { module: module1, action: action }
requirements:
do: action\d+
Thanks!