Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop
This commit is contained in:
commit
5c2f84141e
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue