/users/:id/edit: redirect back to settings instead of profile.
This commit is contained in:
@@ -62,7 +62,7 @@ class UsersController < ApplicationController
|
|||||||
else
|
else
|
||||||
flash[:notice] = "Settings updated"
|
flash[:notice] = "Settings updated"
|
||||||
end
|
end
|
||||||
respond_with(@user)
|
respond_with(@user, location: edit_user_path(@user))
|
||||||
end
|
end
|
||||||
|
|
||||||
def cache
|
def cache
|
||||||
|
|||||||
Reference in New Issue
Block a user