Level 80
@ramiawadallah Please put a bit more effort in to your questions.
Where are you getting this error? A class? A view? You need to give us more to go on to be able to help you.
No hint path defined for [pagination].
@ramiawadallah Please put a bit more effort in to your questions.
Where are you getting this error? A class? A view? You need to give us more to go on to be able to help you.
This is my code in the controller<?php namespace App\Http\Controllers\Backend; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use Validator; use App\User;
class HomeController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */
public function index()
{
$users = User::paginate(15);
return view(user('rule').'_rule.index',compact('users'));
}
}
This is in the index.blade.php
In your view, you need to pass the view file for the pagination links.
{!! $users->links('vendor.pagination.default') !!}
Please or to participate in this conversation.