Skip to content

Commit

Permalink
Named $user_links pagination query parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
overint authored Sep 16, 2016
1 parent 44b9f31 commit ed74202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function displayAdminPage(Request $request) {
}

$user_links = Link::where('creator', $username)
->paginate(15);
->paginate(15, ['*'], 'userlinks');

return view('admin', [
'role' => $role,
Expand Down

0 comments on commit ed74202

Please sign in to comment.