Basic bookmarks functionality

This commit is contained in:
Jonny Barnes 2017-10-10 15:58:07 +01:00
parent b840d164ed
commit 13e6ff1d0f
10 changed files with 173 additions and 0 deletions

View file

@ -0,0 +1,15 @@
<?php
namespace App\Http\Controllers;
use App\Bookmark;
class BookmarksController extends Controller
{
public function index()
{
$bookmarks = Bookmark::paginate(10);
return view('bookmarks.index', compact('bookmarks'));
}
}