This commit is contained in:
sylor_huang@126.com 2020-08-15 13:30:44 +08:00
parent 929b56629c
commit 2267872076
1 changed files with 3 additions and 0 deletions

View File

@ -234,6 +234,9 @@ class PullRequestsController < ApplicationController
private
def set_user
@user = @project.owner
end
def set_repository
@repository = @project.repository