contacts/appinfo/routes.php

26 lines
754 B
PHP
Raw Normal View History

2015-10-26 10:29:01 +00:00
<?php
/**
* Nextcloud - contacts
2015-10-26 10:29:01 +00:00
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Hendrik Leppelsack <hendrik@leppelsack.de>
* @copyright Hendrik Leppelsack 2015
*/
/**
* Create your routes in here. The name is the lowercase name of the controller
* without the controller part, the stuff after the hash is the method.
2016-02-29 12:43:05 +00:00
* e.g. page#index -> OCA\Contacts\Controller\PageController->index()
2015-10-26 10:29:01 +00:00
*
* The controller class has to be registered in the application.php file since
* it's instantiated in there
*/
return [
'routes' => [
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'page#do_echo', 'url' => '/echo', 'verb' => 'POST'],
]
2016-02-29 12:43:05 +00:00
];