From 87d6ecd1cc6b5fc4b52012d49a2f65c47464a181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot=20=28=40U-Exp=29?= Date: Fri, 12 Sep 2014 18:20:13 +0200 Subject: [PATCH] oops, bad commit datas on routes --- appinfo/routes.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index cdae9c3..4e7abad 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -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 -);