app/Http/Controllers/master_controller.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()
    {
        $sho=class_model::all();
        return view('layouts.classstudent')->with('sho', $sho);
    }
public function index ( ) { $ sho = class_model :: all ( ) ; return view ( 'layouts.classstudent' ) -> with ( 'sho' , $ sho ) ; }
Display a listing of the resource.
Display a listing of the resource .