mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Fix reference
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
5c6c70cc03
commit
b5cc6cd738
@ -1,8 +1,8 @@
|
||||
.. _appclassloader:
|
||||
|
||||
===========
|
||||
Classloader
|
||||
===========
|
||||
|
||||
.. app_classloader:
|
||||
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
|
||||
|
||||
The classloader is provided by Nextcloud and loads all your classes automatically. The only thing left to include by yourself are 3rdparty libraries. Those should be loaded in :file:`lib/AppInfo/Application.php`.
|
||||
|
||||
@ -28,7 +28,7 @@ To create a controller, simply extend the Controller class and create a method t
|
||||
Connecting a controller and a route
|
||||
-----------------------------------
|
||||
|
||||
If you use a proper namespace for your app (see :ref:`app_classloader`) Nextcloud
|
||||
If you use a proper namespace for your app (see :ref:`appclassloader`) Nextcloud
|
||||
will resolve your controller and its dependencies automatically.
|
||||
|
||||
An example route name would look like this::
|
||||
|
||||
Loading…
Reference in New Issue
Block a user