diff --git a/docs/en/topics/controller.md b/docs/en/topics/controller.md old mode 100644 new mode 100755 index 17e08529b..545f7d75c --- a/docs/en/topics/controller.md +++ b/docs/en/topics/controller.md @@ -54,6 +54,17 @@ making any code changes to your controller. so a `MyController` class is accessible through `http://localhost/MyController`. +## Link + +Return the link for this Controller. Should return a value that makes sense with your custom route. + + :::php + class FastFood_Controller extends Controller { + public function Link() { + return 'fastfood'; + } + } + ## Access Control ### Through $allowed_actions