mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
前端修改及后端的权限修改
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user