public function index()
    {
        $result = $this->repository->paginated();

        return view('cms::modules.files.index')
            ->with('files', $result)
            ->with('pagination', $result->render());
    }
public function index()
    {
        $result = $this->repository->paginated();

        return view('cms::modules.files.index')
            ->with('files', $result)
            ->with('pagination', $result->render());
    }
public function index ( ) { $ result = $ this -> repository -> paginated ( ) ; return view ( 'cms::modules.files.index' ) -> with ( 'files' , $ result ) -> with ( 'pagination' , $ result -> render ( ) ) ; }
Display a listing of the Files.

@param Request $request

@return Response
Display a listing of the Files .