summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorEarle Bunao & Neil Calabroso <earle.bunao@gmail.com & nmcalabroso@gmail.com>2014-05-23 16:22:00 +0800
committererbunao <earle.bunao@gmail.com>2014-05-23 16:22:42 +0800
commit6a85cdf1627629ecaa762fa60a7abdbd092cc20a (patch)
treeada8c5565fa6e336b3074b4e606273029c473d0a /app/models
parent696b9903f08011e37811dc8b8ff4f7da77201d13 (diff)
downloadgitlab-ce-6a85cdf1627629ecaa762fa60a7abdbd092cc20a.tar.gz
Implements drag and drop upload in creating issues
Diffstat (limited to 'app/models')
-rw-r--r--app/models/issue.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 16d51345e5a..f0c2e552273 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -15,8 +15,12 @@
# milestone_id :integer
# state :string(255)
# iid :integer
+# attachment :string(255)
#
+require 'carrierwave/orm/activerecord'
+require 'file_size_validator'
+
class Issue < ActiveRecord::Base
include Issuable
include InternalId