|
|
|
@ -363,16 +363,6 @@ class UsersController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def show
|
|
|
|
|
# 测试代码
|
|
|
|
|
#login_gitlab("admin@local.host","19840410")
|
|
|
|
|
#create_project("testproject1")
|
|
|
|
|
#create_project_for_user("testproject1","2")
|
|
|
|
|
#create_user("test","just test","123456","test@sina.com")
|
|
|
|
|
#delete_user("3")
|
|
|
|
|
#add_user_to_project("1","2",GitlabHelper::GUEST)
|
|
|
|
|
#delete_user_from_project("1","2")
|
|
|
|
|
# 测试结束
|
|
|
|
|
|
|
|
|
|
pre_count = 10 #limit
|
|
|
|
|
case params[:type]
|
|
|
|
|
when "1"
|
|
|
|
|