mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-21 13:23:04 +00:00
oops, bad commit datas on routes
This commit is contained in:
+1
-9
@@ -22,14 +22,6 @@ namespace OCA\OcSms\AppInfo;
|
|||||||
$application = new Application();
|
$application = new Application();
|
||||||
|
|
||||||
$application->registerRoutes($this, array('routes' => array(
|
$application->registerRoutes($this, array('routes' => array(
|
||||||
//array('name' => 'sms#index', 'url' => '/', 'verb' => 'GET'),
|
array('name' => 'sms#index', 'url' => '/', 'verb' => 'GET'),
|
||||||
array('name' => 'sms#push', 'url' => '/push', 'verb' => 'POST'),
|
array('name' => 'sms#push', 'url' => '/push', 'verb' => 'POST'),
|
||||||
)));
|
)));
|
||||||
|
|
||||||
OC_API::register(
|
|
||||||
'get',
|
|
||||||
'/push',
|
|
||||||
array('\OCA\OcSms\Controller\SmsController', 'push'),
|
|
||||||
'ocsms',
|
|
||||||
OC_API::USER_AUTH
|
|
||||||
);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user