jeudi 15 juin 2017

how can i select admin routes from a collection of routes in laravel5.1

this is the collection of routes i got

the following is my controller code

public function assignRoles(){

    $title = trans('admin/privilegeduser.assign_roles');


    $routecollection = Route::getRoutes();

}

The getRoutes() function in Router.php is given below

public function getRoutes(){

  return $this->routes;

}



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire