Project

General

Profile

« Previous | Next » 

Revision b88cd3a2

Added by Dominic Cleal over 6 years ago

Fixes #20951 - Replace render :text with :plain

View differences:

app/controllers/api/v2/dashboard_controller.rb
def index
status = Dashboard::Data.status(params[:search])
respond_to do |format|
format.yaml { render :text => status.to_yaml }
format.yaml { render :plain => status.to_yaml }
format.json { render :json => status.merge(glossary) }
end
end

Also available in: Unified diff