mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
9 lines
185 B
Ruby
9 lines
185 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'file_size_validator'
|
|
|
|
# Generic class, parent of uploadable items
|
|
class Asset < ActiveRecord::Base
|
|
belongs_to :viewable, polymorphic: true
|
|
end
|