Commit 07c401cb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Specify namespace for PackageFileUploader [ci skip]

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 49452493
...@@ -3,7 +3,7 @@ class Packages::PackageFile < ActiveRecord::Base ...@@ -3,7 +3,7 @@ class Packages::PackageFile < ActiveRecord::Base
validates :package, presence: true validates :package, presence: true
mount_uploader :file, PackageFileUploader mount_uploader :file, Packages::PackageFileUploader
scope :recent, -> { reorder(id: :desc) } scope :recent, -> { reorder(id: :desc) }
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment