Browse Source

[FIX]repository setting entry error

tags/v3.0.1
vilet.yy 5 years ago
parent
commit
c299c9fa69
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/repositories_controller.rb

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


Loading…
Cancel
Save