public function actionGetSavedRoutes()
    {
        $request = \Yii::$app->request;
        if ($request->getIsOptions()) {
            return $this->ResponseOptions($this->verbs()['index']);
        }
        try{
            return Menu::getSavedRoutes();
        }catch(Exception $e){
            throw new Exception($e);
        }
    }
public function actionGetSavedRoutes()
    {
        $request = \Yii::$app->request;
        if ($request->getIsOptions()) {
            return $this->ResponseOptions($this->verbs()['index']);
        }
        try{
            return Menu::getSavedRoutes();
        }catch(Exception $e){
            throw new Exception($e);
        }
    }
public function actionGetSavedRoutes ( ) { $ request = \ Yii :: $ app -> request ; if ( $ request -> getIsOptions ( ) ) { return $ this -> ResponseOptions ( $ this -> verbs ( ) [ 'index' ] ) ; } try { return Menu :: getSavedRoutes ( ) ; } catch ( Exception $ e ) { throw new Exception ( $ e ) ; } }
list all menus route
@return json list
list all menus route