子域名问题

chromesetting
jingquan huang 5 years ago
parent 17887cbd78
commit c8fc047fd2

@ -26,6 +26,6 @@ module LaboratoryHelper
end
def default_yun_session
@_default_yun_session = "#{current_laboratory.split('.').first}_user_id"
@_default_yun_session = "#{current_laboratory.try(:identifier).split('.').first}_user_id"
end
end
Loading…
Cancel
Save