diff --git a/developer_manual/app/controllers.rst b/developer_manual/app/controllers.rst index 024c635a5..ccb3a2977 100644 --- a/developer_manual/app/controllers.rst +++ b/developer_manual/app/controllers.rst @@ -24,8 +24,8 @@ The apptemplate comes with several different controllers. A simple controller wo namespace OCA\YourApp\Controller; - use \OCA\AppFramework\Controller\Controller as Controller; - use \OCA\AppFramework\Http\JSONResponse as JSONResponse; + use \OCA\AppFramework\Controller\Controller; + use \OCA\AppFramework\Http\JSONResponse; class MyController extends Controller { diff --git a/developer_manual/app/database.rst b/developer_manual/app/database.rst index 48053b33d..6eff49c89 100644 --- a/developer_manual/app/database.rst +++ b/developer_manual/app/database.rst @@ -131,8 +131,8 @@ All database queries for that object should be put into a mapper class. This fol create('yourappname_routename', '/myurl/{value}')->action( function($params){ @@ -53,7 +53,7 @@ If a default value should be used for an URL parameter, it can be set via the ** .. code-block:: php create('yourappname_routename', '/myurl/{value}')->action( function($params){ diff --git a/developer_manual/app/templates.rst b/developer_manual/app/templates.rst index 60656d5af..84076e04b 100644 --- a/developer_manual/app/templates.rst +++ b/developer_manual/app/templates.rst @@ -10,7 +10,7 @@ Templates are abstracted by the TemplateResponse object and used and returned in .. code-block:: php