FIX 取消项目点赞、关注、fork等列表需要登录的限制

This commit is contained in:
Jasder 2020-08-13 15:58:07 +08:00
parent 425a374332
commit 7a2b496d95
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ class ProjectsController < ApplicationController
include ApplicationHelper
include OperateProjectAbilityAble
include ProjectsHelper
before_action :require_login, except: %i[index branches group_type_list simple show]
before_action :require_login, except: %i[index branches group_type_list simple show fork_users praise_users watch_users]
before_action :load_project, except: %i[index group_type_list migrate]
before_action :authorizate_user_can_edit_project!, only: %i[update]
before_action :project_public?, only: %i[fork_users praise_users watch_users]