Skip to content

Commit 80cbdf6

Browse files
committed
Mount GameScreenshotUploader to GameScreenshot image
1 parent 3c98e5c commit 80cbdf6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@
2020
.DS_Store
2121

2222
/config/application.yml
23+
24+
/public/uploads/

app/models/game_screenshot.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
class GameScreenshot < ApplicationRecord
2+
mount_uploader :image, GameScreenshotUploader
3+
24
belongs_to :game
35
end

0 commit comments

Comments
 (0)