From 3e64f4ae978c9d2cc7023037b9413dabcaed874e Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Thu, 18 Jun 2020 16:27:43 +0800 Subject: [PATCH] change --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 270680a97..978f0d98f 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -2,7 +2,7 @@ class UsersController < ApplicationController before_action :load_user, only: [:show, :homepage_info, :sync_token, :sync_gitea_pwd, :projects, :watch_users, :fan_users] before_action :check_user_exist, only: [:show, :homepage_info,:projects, :watch_users, :fan_users] - before_action :require_login, only: %i[me list projects] + before_action :require_login, only: %i[me list] skip_before_action :check_sign, only: [:attachment_show] def list