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:
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb37
1 files changed, 18 insertions, 19 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 1acdfdd3261..1de9d0f9ebc 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1,3 +1,21 @@
+# == Schema Information
+#
+# Table name: issues
+#
+# id :integer not null, primary key
+# title :string(255)
+# assignee_id :integer
+# author_id :integer
+# project_id :integer
+# created_at :datetime not null
+# updated_at :datetime not null
+# closed :boolean default(FALSE), not null
+# position :integer default(0)
+# branch_name :string(255)
+# description :text
+# milestone_id :integer
+#
+
class Issue < ActiveRecord::Base
include IssueCommonality
include Votes
@@ -13,22 +31,3 @@ class Issue < ActiveRecord::Base
opened.assigned(user)
end
end
-
-# == Schema Information
-#
-# Table name: issues
-#
-# id :integer not null, primary key
-# title :string(255)
-# assignee_id :integer
-# author_id :integer
-# project_id :integer
-# created_at :datetime not null
-# updated_at :datetime not null
-# closed :boolean default(FALSE), not null
-# position :integer default(0)
-# branch_name :string(255)
-# description :text
-# milestone_id :integer
-#
-