aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/pdfresource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/pdfresource.rb')
-rw-r--r--app/models/pdfresource.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/pdfresource.rb b/app/models/pdfresource.rb
new file mode 100644
index 0000000..6131034
--- /dev/null
+++ b/app/models/pdfresource.rb
@@ -0,0 +1,4 @@
+class Pdfresource < ApplicationRecord
+ has_many_attached :pdfs
+ has_many_attached :thumbnails
+end