Howto open PDF files in same browser window?

This might be helpful:

... :disposition => 'inline', :type => "application/pdf")

Were can I find the environment controller file?