aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/resource_type.rb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-11-14 15:47:43 +0000
committerMatthew Lemon <y@yulqen.org>2024-11-14 15:47:43 +0000
commit6427b28c60c6ed0dfd637307d1ab4ffe65c1144d (patch)
tree156d280b94557f9606c053f6187aec2a21eb1b36 /app/models/resource_type.rb
parent1b64b0b709c5704de48120e20bdfad32f34b0b5d (diff)
Adds ResourceType model
Diffstat (limited to 'app/models/resource_type.rb')
-rw-r--r--app/models/resource_type.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/resource_type.rb b/app/models/resource_type.rb
new file mode 100644
index 0000000..066a734
--- /dev/null
+++ b/app/models/resource_type.rb
@@ -0,0 +1,3 @@
+class ResourceType < ApplicationRecord
+ has_many :pdfresources
+end