Render file in index

Hi

I am trying to render file in controller like this :
def index
render :flie => ‘app\views\upload\uploadfile.html.erb’
end

It still complains that template is missing.

Template is missing
Missing template upload/index.html.erb in view path /home/rails/
directory/app/views

Do i have to use funtion render :template or how i can change that
default index.html.erb

u can use send_data :slight_smile: