diff options
author | Earle Bunao & Neil Calabroso <earle.bunao@gmail.com & nmcalabroso@gmail.com> | 2014-05-23 16:22:00 +0800 |
---|---|---|
committer | erbunao <earle.bunao@gmail.com> | 2014-05-23 16:22:42 +0800 |
commit | 6a85cdf1627629ecaa762fa60a7abdbd092cc20a (patch) | |
tree | ada8c5565fa6e336b3074b4e606273029c473d0a /app/models | |
parent | 696b9903f08011e37811dc8b8ff4f7da77201d13 (diff) | |
download | gitlab-ce-6a85cdf1627629ecaa762fa60a7abdbd092cc20a.tar.gz |
Implements drag and drop upload in creating issues
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/issue.rb | 4 |
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 |