mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Update tutorial.rst
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user