mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-08 00:16:24 +00:00
oops, bad commit datas on routes
This commit is contained in:
parent
08efd41e8d
commit
87d6ecd1cc
@ -22,14 +22,6 @@ namespace OCA\OcSms\AppInfo;
|
||||
$application = new Application();
|
||||
|
||||
$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'),
|
||||
)));
|
||||
|
||||
OC_API::register(
|
||||
'get',
|
||||
'/push',
|
||||
array('\OCA\OcSms\Controller\SmsController', 'push'),
|
||||
'ocsms',
|
||||
OC_API::USER_AUTH
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user