前端修改及后端的权限修改

This commit is contained in:
sylor_huang@126.com
2020-03-27 15:03:20 +08:00
parent 28a10acf55
commit 38794cd2d3
26 changed files with 517305 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
class PullRequestsController < ApplicationController
before_action :require_login
before_action :require_login, except: [:index, :show]
before_action :find_project_with_id
before_action :set_repository
before_action :find_pull_request, except: [:index, :new, :create, :check_can_merge]