app/Http/Controllers/UserController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
Show the application dashboard.
@return \Illuminate\Http\Response
Show the application dashboard . @return \ Illuminate \ Http \ Response
public function index()
    {
        $onboardingProcess =  \App\UserOnboardingStages::all();
       return $onboardingProcess->toJson();
    }
public function index ( ) { $ onboardingProcess = \ App \ UserOnboardingStages :: all ( ) ; return $ onboardingProcess -> toJson ( ) ; }
Show the application dashboard.
Show the application dashboard .