enable view to handle redirects too