Ejemplo n.º 1
0
 public function index()
 {
     $role_users = Role_user::orderBy('updated_at', 'desc')->get();
     return View::make('Middle.Web.Role_user.index', compact('role_users'));
 }
 public function index()
 {
     $role_users = Role_user::orderBy('updated_at', 'desc')->get();
     return response(['data' => $role_users, 'status' => 'success', 'message' => '']);
 }