/users/:id/edit: redirect back to settings instead of profile.

This commit is contained in:
evazion
2017-07-21 01:18:42 -05:00
parent 5673efe131
commit 6682ae10eb

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