From dba0303428ea611ab5c4336fa38d5e768d07fa8e Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Mon, 12 Oct 2020 17:54:59 +0800 Subject: [PATCH] change current_user method --- 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 cf48b3c7..5a706e38 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -28,7 +28,7 @@ class ApplicationController < ActionController::Base DCODES = %W(2 3 4 5 6 7 8 9 a b c f e f g h i j k l m n o p q r s t u v w x y z) OPENKEY = "79e33abd4b6588941ab7622aed1e67e8" - helper_method :current_users + helper_method :current_user # 所有请求必须合法签名 def check_sign