1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

don't remove templateresponse

This commit is contained in:
Loïc Blot (@U-Exp)
2014-09-12 18:19:53 +02:00
parent 363777c2a6
commit 08efd41e8d
2 changed files with 10 additions and 2 deletions
+9 -1
View File
@@ -22,6 +22,14 @@ 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
);