mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop
This commit is contained in:
@@ -11,7 +11,8 @@ class OwnersController < ApplicationController
|
||||
end
|
||||
|
||||
def show
|
||||
login = params[:id].to_s[0..-6]
|
||||
# login = params[:id].to_s[0..-6]
|
||||
login = params[:id].to_s
|
||||
@owner = Owner.find_by(login: login) || Owner.find_by(id: login)
|
||||
clear_user_cookie unless @owner.present?
|
||||
return render_not_found unless @owner.present?
|
||||
|
||||
Reference in New Issue
Block a user