BigW Consortium Gitlab

forked_project_link.rb 238 Bytes
Newer Older
1 2 3 4 5 6 7 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