app/Http/Controllers/M_template_detailsController.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()
    {
        $m_template_details = M_template_details::orderBy('id','asc')->paginate(10);
        return view('m_template_details.index',compact('m_template_details'))
            ->with('i', (request()->input('page', 1) - 1) * 5);
    }
public function index ( ) { $ m_template_details = M_template_details :: orderBy ( 'id' , 'asc' ) -> paginate ( 10 ) ; return view ( 'm_template_details.index' , compact ( 'm_template_details' ) ) -> with ( 'i' , ( request ( ) -> input ( 'page' , 1 ) - 1 ) * 5 ) ; }
Display a listing of the resource.
Display a listing of the resource .