From ece6cba4a4e944d35a06c085e0165b0f7772b6e0 Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Wed, 28 Oct 2020 17:39:00 +0800 Subject: [PATCH] FIX skip some action --- app/controllers/main_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index 965ef7604..7b7468f93 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -2,7 +2,7 @@ class MainController < ApplicationController protect_from_forgery except: :index skip_before_action :check_sign skip_before_action :user_setup - # skip_before_action :setup_laboratory + skip_before_action :setup_laboratory def first_stamp render :json => { status: 0, message: Time.now.to_i }