mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-19 07:26:10 +01:00
Convert render :text to render :body
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
This commit is contained in:
parent
60ae4f6f5f
commit
5805c511bb
9 changed files with 20 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue