app/Http/Controllers/SalonsController.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()
    {
        $salons = Salon::get();
        return view("salons.index", compact('salons'));
    }
public function index ( ) { $ salons = Salon :: get ( ) ; return view ( " salons.index " , compact ( 'salons' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .