fix typo in actions section of templates guide

The sample code following the text is a controller, not a route.