Report abuse

Ignore the filters, just testing in something I'm working on


			
class WelcomeController < ApplicationController

  skip_before_filter :require_login, :check_authorization 

  def index  
    headers["Content-type"] = "application/pdf"
    headers["Content-Disposition"] = "filename=downloadme.pdf"
  end

end