route()->parameter('location'); $locationId = $location->id; return collect(Location::getRulesForUpdate($locationId))->only([ 'short', 'long', ])->toArray(); } }