Fix reference

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma
2019-01-03 22:16:41 +01:00
parent a76a9fe0b7
commit f5db83ece5
2 changed files with 3 additions and 3 deletions

View File

@@ -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`.

View File

@@ -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::