fix: profile completed

This commit is contained in:
yystopf 2021-09-29 10:39:50 +08:00
parent a825271a36
commit 60720c309f
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ class ApplicationController < ActionController::Base
# 资料是否完善
def check_account
if !current_user.profile_completed?
if !current_user. profile_is_completed?
#info_url = '/account/profile'
tip_exception(402, nil)
end