summaryrefslogtreecommitdiffhomepage
path: root/app/models/game.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-17 22:16:00 -0400
committerrealtradam <[email protected]>2024-05-17 22:16:00 -0400
commit3321db8f9c549103ebae46bf025a3135208a2e3b (patch)
tree49dd106a76a73ea3e4ec0e826a9b2d690d8c5363 /app/models/game.rb
parent98571b599449bfd7497c9b098a07b376da670319 (diff)
downloadgameHolster-3321db8f9c549103ebae46bf025a3135208a2e3b.tar.gz
gameHolster-3321db8f9c549103ebae46bf025a3135208a2e3b.zip
uploading images to games and also iframes for games
Diffstat (limited to 'app/models/game.rb')
-rw-r--r--app/models/game.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/game.rb b/app/models/game.rb
index 07c5098..196bef5 100644
--- a/app/models/game.rb
+++ b/app/models/game.rb
@@ -5,4 +5,7 @@ class Game < ApplicationRecord
#}
#belongs_to :user
has_many_attached :game_files
+ has_one_attached :card_img
+ has_one_attached :char_img
+ has_one_attached :title_img
end