This commit is contained in:
Stella 2014-11-30 15:19:19 +02:00
parent 1edb4bff9e
commit 65c0cd7a73
7 changed files with 10 additions and 10 deletions

View file

@ -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