[FIX]repository setting entry error

This commit is contained in:
vilet.yy 2021-02-26 13:49:29 +08:00
parent 70922b81db
commit c299c9fa69
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class RepositoriesController < ApplicationController
end
def edit
return render_forbidden if !@project.manager?(current_user)
return render_forbidden if !@project.manager?(current_user) && !current_user.admin?
end
def create_file