summaryrefslogtreecommitdiffhomepage
path: root/app/models/game.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-16 22:10:46 -0400
committerrealtradam <[email protected]>2024-05-16 22:10:46 -0400
commit98571b599449bfd7497c9b098a07b376da670319 (patch)
tree7fc85863cd7d8406dc0c537dd893111f662d8938 /app/models/game.rb
parent43237d776e311ebd00b36c0048ec339a4da5b15b (diff)
downloadgameHolster-98571b599449bfd7497c9b098a07b376da670319.tar.gz
gameHolster-98571b599449bfd7497c9b098a07b376da670319.zip
implement uploading and serving web games
Diffstat (limited to 'app/models/game.rb')
-rw-r--r--app/models/game.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/game.rb b/app/models/game.rb
index fbdc561..07c5098 100644
--- a/app/models/game.rb
+++ b/app/models/game.rb
@@ -4,5 +4,5 @@ class Game < ApplicationRecord
# published: 1
#}
#belongs_to :user
- has_one_attached :game_file
+ has_many_attached :game_files
end