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