1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 11:42:28 +01:00

Named $user_links pagination query parameter.

This commit is contained in:
Evan 2016-09-16 23:00:42 +10:00 committed by GitHub
parent 44b9f31566
commit ed74202ad6

View File

@ -36,7 +36,7 @@ class AdminController extends Controller {
}
$user_links = Link::where('creator', $username)
->paginate(15);
->paginate(15, ['*'], 'userlinks');
return view('admin', [
'role' => $role,