DEV Community

Discussion on: Basic Dancer2 Routing

Collapse
 
bigpresh profile image
David Precious

Good post!

Minor typo feedback - you said router_parameter->get('name');, you meant route_parameters there; also other places where you've used the singular e.g. query_parameter, body_parameter should be pluralised e.g .query_parameters.

A quick link to the Dancer2 documentation for the route_parameters() keyword (with query_parameters() and body_parameters() just below it):
metacpan.org/pod/distribution/Danc...

Collapse
 
akuks profile image
Ashutosh

Thanks for pointing out the mistakes. :)