* @copyright Loic Blot 2015 */ namespace OCA\Weather\AppInfo; $application = new Application(); $application->registerRoutes($this, array('routes' => array( array('name' => 'city#index', 'url' => '/', 'verb' => 'GET'), array('name' => 'city#getall', 'url' => '/city/getall', 'verb' => 'GET'), array('name' => 'city#add', 'url' => '/city/add', 'verb' => 'POST'), array('name' => 'city#delete', 'url' => '/city/delete', 'verb' => 'POST'), array('name' => 'weather#get', 'url' => '/weather/get', 'verb' => 'GET'), array('name' => 'settings#homeset', 'url' => '/settings/home/set', 'verb' => 'POST'), ))); ?>