Fix history query
This commit is contained in:
1 parent
2d23f5da59
commit
16a5c49e1d
1 file changed
+1
-1
@@ -14,7 +14,7 @@ class ShitController extends Controller
|
||||
|
||||
public function dashboard() {
|
||||
|
||||
$allshits = ShitUser::all()->sortByDesc('created_at')->take(100);
|
||||
$allshits = ShitUser::where('user_id', Auth::user()->id)->orderByDesc('created_at')->take(100)->get();
|
||||
$buttonRand = collect(['Plop!', 'Pflomp!', 'Zwusch!', 'Blomp!'])->random();
|
||||
return view('dashboard')->with([
|
||||
'allshits' => $allshits,
|
||||
|
||||
Reference in new issue
Block a user