mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-10 03:08:50 +01:00
Fix syntax errors for upgrade of Rails version
This commit is contained in:
parent
7f567862d7
commit
86e36b07a6
9 changed files with 21 additions and 21 deletions
|
|
@ -125,7 +125,7 @@ class UsersController < ApplicationController
|
|||
unless user.new_record?
|
||||
render :body => t('users.user_created'), :status => 200
|
||||
else
|
||||
render_failure user.errors.to_xml, 409
|
||||
render_failure user.errors.full_messages.to_xml(root: "errors", skip_types: true), 409
|
||||
end
|
||||
return
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue