Skip to content

Commit

Permalink
laravel-debugbar の動作確認のため routes/web.php を書き換え
Browse files Browse the repository at this point in the history
  • Loading branch information
okashoi committed Mar 17, 2019
1 parent a1ea3eb commit f42dd45
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,14 @@
*/

Route::get('/', function () {
$users = collect([
['name' => 'Alice'],
['name' => 'Bob'],
['name' => 'Carol'],
]);

Debugbar::info($users);
Debugbar::info($users->sortByDesc('name'));

return view('welcome');
});

0 comments on commit f42dd45

Please sign in to comment.