Bug #328 » 0001-Set-Content-Type-HTTP-header-when-rendering-unattend.patch
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}"
|
- « Previous
- 1
- 2
- Next »