aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorMarvin Borner2018-07-14 16:57:30 +0200
committerMarvin Borner2018-07-14 16:57:30 +0200
commitc4654913a951e0fc9835367617ceed8827b10108 (patch)
tree139c235243e44eba99f5aa0f201341548e3dd556 /app
parent012632c1bb9899eeb9fbddbbcf743e95b1322548 (diff)
Replaced bower modules with node_modules (less spam)
Diffstat (limited to 'app')
-rwxr-xr-xapp/Http/Controllers/SocketController.php4
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'));