Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
app/controllers/unattended_controller.rb | ||
---|---|---|
render(:text => _("Failed to get a new realm OTP. Terminating the build!"), :status => :internal_server_error) unless @host.handle_realm
|
||
end
|
||
|
||
|
||
def set_content_type
|
||
response.headers['Content-Type'] = 'text/plain'
|
||
end
|
||
... | ... | |
# and is needed to direct the host to the correct url. without it, we increase
|
||
# latency by requesting the correct url directly from the proxy.
|
||
@template_url = params['url']
|
||
|
||
end
|
||
|
||
def alterator_attributes
|
||
... | ... | |
render :text => msg + exc.message, :status => :internal_server_error and return
|
||
end
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines