View definition

(*Controller).RenderFile

Defined in github.com/revel/revel/controller.go

Description

RenderFile returns a file, either displayed inline or downloaded as an attachment. The name and size are taken from the file info.