FIX some routes bug

This commit is contained in:
Jasder 2020-08-12 11:14:57 +08:00
parent 2c14829d39
commit e2926acd2f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ class ProjectsController < ApplicationController
include OperateProjectAbilityAble
include ProjectsHelper
before_action :require_login, except: %i[index branches group_type_list simple, show]
before_action :load_project
before_action :load_project, except: %i[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]