Merge pull request #3232 from evazion/fix-user-update-redirect

Redirect back to settings page after saving account settings.
This commit is contained in:
Albert Yi
2017-07-21 17:59:09 -07:00
committed by GitHub

View File

@@ -62,7 +62,7 @@ class UsersController < ApplicationController
else
flash[:notice] = "Settings updated"
end
respond_with(@user)
respond_with(@user, location: edit_user_path(@user))
end
def cache