replaceTypeInUrl

Replaces the type in the URL with the given type.

Return

The URL with the replaced type.

Parameters

type

The type to replace the current type with.