Get url parameters in controller

I need to use the values of url get parameters in a page controller. Is there a way to access these get parameters in the controller?

To illustrate my case:

URL: http://localhost:3000/registration?region=paris

Is it possible to access the region parameter in the corresponding registration controller? The default kirby methods only offer the raw url, unfortunately.


You can access it with get('region').

1 Like