protected static function buildRoutes() { $routes = parent::buildRoutes(); $routes[] = array('GET', '/', 'listTorrents'); $routes[] = array('GET', '/magnet', 'addMagnet'); return $routes; }
protected static function buildRoutes() { $routes = parent::buildRoutes(); $routes[] = array('GET', '/', 'editAccount'); $routes[] = array('POST', '/', 'saveAccount'); return $routes; }
protected static function buildRoutes() { $routes = parent::buildRoutes(); $routes[] = array('GET', '/', 'listUsers'); $routes[] = array('GET', '/add', 'addUser'); $routes[] = array('POST', '/add', 'saveUser'); return $routes; }
protected static function buildAjaxRoutes() { $routes = parent::buildRoutes(); $routes[] = array('POST', '/clear/apc', 'clearApc'); $routes[] = array('POST', '/clear/twig', 'clearTwig'); $routes[] = array('POST', '/clear/translations', 'clearTranslations'); $routes[] = array('POST', '/clear', 'clearAll'); return $routes; }
protected static function buildRoutes() { $routes = parent::buildRoutes(); $routes[] = ['GET', '/', 'listFiles']; $routes[] = ['GET', '/play', 'playFile']; $routes[] = ['GET', '/display', 'displayFile']; $routes[] = ['GET', '/open', 'openFile']; $routes[] = ['GET', '/download', 'downloadFile']; return $routes; }
protected static function buildRoutes() { $routes = parent::buildRoutes(); $routes[] = array('GET', '/', 'home'); return $routes; }
protected static function buildRoutes() { $routes = parent::buildRoutes(); $routes[] = array('GET', '/', 'listAdministrationModules'); return $routes; }