From f5db83ece5493ad0285d0643264f225f829455e6 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 3 Jan 2019 22:16:41 +0100 Subject: [PATCH] Fix reference Signed-off-by: Roeland Jago Douma --- developer_manual/app/classloader.rst | 4 ++-- developer_manual/app/requests/controllers.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/developer_manual/app/classloader.rst b/developer_manual/app/classloader.rst index ed009eb7b..489bb5179 100644 --- a/developer_manual/app/classloader.rst +++ b/developer_manual/app/classloader.rst @@ -1,8 +1,8 @@ +.. _appclassloader: + =========== Classloader =========== - -.. app_classloader: .. sectionauthor:: Bernhard Posselt 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`. diff --git a/developer_manual/app/requests/controllers.rst b/developer_manual/app/requests/controllers.rst index 502375e1d..2e8f4c034 100644 --- a/developer_manual/app/requests/controllers.rst +++ b/developer_manual/app/requests/controllers.rst @@ -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::