用户主页修改为跳转到项目托管平台主页

This commit is contained in:
z9hang 2014-11-22 15:25:51 +08:00
parent 436cf1175f
commit 8414e92bbe
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class WelcomeController < ApplicationController
return 0 return 0
elsif url.include?(Setting.host_user.gsub('/','')) elsif url.include?(Setting.host_user.gsub('/',''))
redirect_to(:controller => "users", :action => "index") #redirect_to(:controller => "users", :action => "index")
end end