diff options
author | Marvin Borner | 2018-07-14 16:57:30 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-14 16:57:30 +0200 |
commit | c4654913a951e0fc9835367617ceed8827b10108 (patch) | |
tree | 139c235243e44eba99f5aa0f201341548e3dd556 /app | |
parent | 012632c1bb9899eeb9fbddbbcf743e95b1322548 (diff) |
Replaced bower modules with node_modules (less spam)
Diffstat (limited to 'app')
-rwxr-xr-x | app/Http/Controllers/SocketController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Http/Controllers/SocketController.php b/app/Http/Controllers/SocketController.php index dc49fcf..dc95ad8 100755 --- a/app/Http/Controllers/SocketController.php +++ b/app/Http/Controllers/SocketController.php @@ -15,8 +15,8 @@ class SocketController extends Controller { $messages = Message::leftJoin('users', function ($join) { $join->on('messages.user_id', '=', 'users.id'); - })->select( - 'users.name', 'messages.message')->orderBy('messages.created_at') + }) + ->select('users.name', 'messages.message')->orderBy('messages.created_at') ->get(); return view('writeMessage', compact('messages')); |