mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
an error
This commit is contained in:
parent
1edb4bff9e
commit
65c0cd7a73
7 changed files with 10 additions and 10 deletions
|
|
@ -16,7 +16,7 @@ class UsersController < ApplicationController
|
|||
if @user.update(user_params)
|
||||
redirect_to @user, notice: 'User was successfully updated.'
|
||||
else
|
||||
flash[:error] = "A error prohibited your Profile from being saved: #{@user.errors.full_messages.join('. ')}."
|
||||
flash[:error] = "An error prohibited your Profile from being saved: #{@user.errors.full_messages.join('. ')}."
|
||||
render :edit
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue