Project

General

Profile

Bug #328 » 0001-Set-Content-Type-HTTP-header-when-rendering-unattend.patch

Git Formatted Patch - Jon Fautley, 06/23/2010 10:01 AM

View differences:

app/controllers/unattended_controller.rb
before_filter :get_host_details, :allowed_to_install?
before_filter :handle_ca, :except => [:jumpstart_finish, :preseed_finish]
skip_before_filter :require_ssl, :require_login
after_filter :set_ctype
def set_ctype
headers['Content-Type'] = 'text/plain'
end
def kickstart
logger.info "#{controller_name}: Kickstart host #{@host.name}"
(2-2/2)