Skip to content

Commit

Permalink
Fix wrong flash message after successful singup.
Browse files Browse the repository at this point in the history
  • Loading branch information
lennerd committed Aug 15, 2016
1 parent 76a5405 commit 4a99139
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def after_signup_update
end
redirect_to after_sign_in_path_for(:user)
else
flash.now[:alert] = @user.errors.full_messages.to_sentence
render :template => 'users/after_signup_edit'
end
end
Expand Down

0 comments on commit 4a99139

Please sign in to comment.