public function __construct() { $this->user = Auth::user(); $this->streets = Street::all(); }
public function streets() { $streets = Street::all(); return response()->json($streets); }