1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-08 08:26:15 +00:00

oops, bad commit datas on routes

This commit is contained in:
Loïc Blot (@U-Exp) 2014-09-12 18:20:13 +02:00
parent 08efd41e8d
commit 87d6ecd1cc

View File

@ -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
);