Corrected deprecation warnings for RedirectView; refs #21587.