From 60720c309ffeef51e2ee92318636a5c4b2f3c448 Mon Sep 17 00:00:00 2001 From: yystopf Date: Wed, 29 Sep 2021 10:39:50 +0800 Subject: [PATCH] fix: profile completed --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 11ea87dd9..8362dfa76 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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