This commit is contained in:
sylor_huang@126.com 2020-06-18 16:27:43 +08:00
parent e216e39cba
commit 3e64f4ae97
1 changed files with 1 additions and 1 deletions

View File

@ -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