From cc37cb647ab8fe935f3de778229bf21728cd150c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarka=20Kadlecov=C3=A1?= Date: Mon, 9 Jul 2018 15:21:08 +0200 Subject: Remove deprecated AttachmentUploader from Note --- app/models/note.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/models/note.rb') diff --git a/app/models/note.rb b/app/models/note.rb index 3918bbee194..30b43640b74 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -88,9 +88,6 @@ class Note < ActiveRecord::Base end end - # @deprecated attachments are handler by the MarkdownUploader - mount_uploader :attachment, AttachmentUploader - # Scopes scope :for_commit_id, ->(commit_id) { where(noteable_type: "Commit", commit_id: commit_id) } scope :system, -> { where(system: true) } -- cgit v1.2.1