From 1e7d64b026d75c84a69c3f2d60023a4558083855 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 25 Mar 2013 22:15:15 +0100 Subject: [PATCH] Update tutorial.rst --- developer_manual/app/appframework/tutorial.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/developer_manual/app/appframework/tutorial.rst b/developer_manual/app/appframework/tutorial.rst index 8cdb5c76a..a3e0bee11 100644 --- a/developer_manual/app/appframework/tutorial.rst +++ b/developer_manual/app/appframework/tutorial.rst @@ -101,7 +101,7 @@ The :doc:`controllers` to which the route links does not exist yet and it has to namespace OCA\MyApp\Controller; - use OCA\AppFramework\Controller\Controller; + use \OCA\AppFramework\Controller\Controller; class PageController extends Controller { @@ -153,9 +153,9 @@ The last thing that is left is to tell the application how the controller needs namespace OCA\MyApp\DependencyInjection; - use OCA\AppFramework\DependencyInjection\DIContainer as BaseContainer; + use \OCA\AppFramework\DependencyInjection\DIContainer as BaseContainer; - use OCA\MyApp\Controller\PageController; + use \OCA\MyApp\Controller\PageController; class DIContainer extends BaseContainer {