Browse Source

FIX some routes bug

tags/v1.0.0
Jasder 5 years ago
parent
commit
e2926acd2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/projects_controller.rb

+ 1
- 1
app/controllers/projects_controller.rb 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]



Loading…
Cancel
Save