app/Http/Controllers/TagsController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $tag = Tags::paginate(5);
        return view('admin.tag.index', compact('tag'));
    }
public function index ( ) { $ tag = Tags :: paginate ( 5 ) ; return view ( 'admin.tag.index' , compact ( 'tag' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
// Paginate adalah suatu function untuk membatasi suatu halaman 