ADD test devops

This commit is contained in:
Jasder
2020-07-10 14:08:16 +08:00
parent dbafd32d0b
commit e74bba9092
16 changed files with 317 additions and 6 deletions

View File

@@ -161,7 +161,7 @@ class Project < ApplicationRecord
member&.roles&.last&.name || permission
end
def fork_project
def fork_project
Project.find_by(id: self.forked_from_project_id)
end