app/Http/Controllers/user_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()
    {
        $setting=setting::where('id',1)->first();
        return view('admin.user.user_index',compact('setting'));
    }
public function index ( ) { $ setting = setting :: where ( 'id' , 1 ) -> first ( ) ; return view ( 'admin.user.user_index' , compact ( 'setting' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
// $user= user::Orderby('id','desc')->get();