My situation: View action of ReportsController should render pure html, but not as a file (to view it in browser and save it after). So for rendering I use view template vie
This should do it,
def view ... render :layout => false end
Link to Documentation