Convert render :text to render :body

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
This commit is contained in:
Matt Rogers 2018-09-22 13:03:35 -05:00
parent 60ae4f6f5f
commit 5805c511bb
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
9 changed files with 20 additions and 20 deletions

View file

@ -28,7 +28,7 @@ class PreferencesController < ApplicationController
def render_date_format
format = params[:date_format]
render :text => l(Date.current, :format => format)
render :body => l(Date.current, :format => format)
end
private