Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus MacArthur <amacarthur@blackberry.com>2013-03-19 19:37:50 +0400
committerAngus MacArthur <amacarthur@blackberry.com>2013-04-15 09:54:52 +0400
commitae33fdf297e03866ecc6c31c5470dd5ad72d1328 (patch)
tree6b3b8fb315fbc3e0b6ebf6dbb527abe9bcb3d245 /app/models/forked_project_link.rb
parente996c52636f46b193b5ff7291e9b835c317e5438 (diff)
updated fork feature to use gitlab-shell for v5 of gitlab
Diffstat (limited to 'app/models/forked_project_link.rb')
-rw-r--r--app/models/forked_project_link.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/forked_project_link.rb b/app/models/forked_project_link.rb
new file mode 100644
index 00000000000..c3199ca264e
--- /dev/null
+++ b/app/models/forked_project_link.rb
@@ -0,0 +1,8 @@
+class ForkedProjectLink < ActiveRecord::Base
+ attr_accessible :forked_from_project_id, :forked_to_project_id
+
+ # Relations
+ belongs_to :forked_to_project, class_name: Project
+ belongs_to :forked_from_project, class_name: Project
+
+end