/users/:id/edit: redirect back to settings instead of profile.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user