镜像自地址
https://github.com/redmine/redmine.git
已同步 2024-08-07 21:06:46 +02:00
Redirect to referer when deleting a user (#10865).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9678 e93f8b46-1217-0410-a6f0-8f06a7374b81
这个提交包含在:
父节点
46e48ad3f7
当前提交
7c97832002
@ -174,7 +174,7 @@ class UsersController < ApplicationController
|
||||
def destroy
|
||||
@user.destroy
|
||||
respond_to do |format|
|
||||
format.html { redirect_to(users_url) }
|
||||
format.html { redirect_to_referer_or(users_url) }
|
||||
format.api { head :ok }
|
||||
end
|
||||
end
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户