mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #3844 from marsvogel/patch-2
DOCS Fix formatting in Link-Section
This commit is contained in:
commit
5219cb0f6b
@ -158,9 +158,8 @@ Each controller should define a `Link()` method. This should be used to avoid ha
|
|||||||
return Controller::join_links('teams', $action);
|
return Controller::join_links('teams', $action);
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="info">
|
<div class="info" markdown="1">
|
||||||
The [api:Controller::join_links] is optional, but makes `Link()` more flexible by allowing an `$action` argument, and
|
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.
|
||||||
concatenates the path segments with slashes. The action should map to a method on your controller.
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Related Documentation
|
## Related Documentation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user