App\Http\Controllers\Backend\TopicController::index PHP 메소드

index() 공개 메소드

Display a listing of the resource.
public index ( ) : Illuminate\Http\Response
리턴 Illuminate\Http\Response
    public function index()
    {
        $topics = $this->topics->orderBy('id', 'desc')->paginate(10);
        return view('backend.topic.index', compact('topics'));
    }