You must set the the view filename before calling render