diff --git a/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md b/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md index 9db989739..8e722b4fb 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md +++ b/docs/en/02_Developer_Guides/02_Controllers/01_Introduction.md @@ -155,14 +155,13 @@ Each controller should define a `Link()` method. This should be used to avoid ha **mysite/code/controllers/TeamController.php** - :::php - public function Link($action = null) { + :::php + public function Link($action = null) { return Controller::join_links('teams', $action); } -
-The [api:Controller::join_links] is optional, but makes `Link()` more flexible by allowing an `$action` argument, and -concatenates the path segments with slashes. The action should map to a method on your controller. +
+The [api:Controller::join_links] is optional, but makes `Link()` more flexible by allowing an `$action` argument, and concatenates the path segments with slashes. The action should map to a method on your controller.
## Related Documentation