Removes support for rails views so that test will work in controller.