Пример #1
0
 public function index()
 {
     $tokens = Token::orderBy('updated_at', 'desc')->get();
     return response(['data' => $tokens, 'status' => 'success', 'message' => '']);
 }
Пример #2
0
 public function index()
 {
     $tokens = Token::orderBy('updated_at', 'desc')->get();
     return View::make('Middle.Web.Token.index', compact('tokens'));
 }