call the correct route when setting edge visibility