diff options
| author | realtradam <[email protected]> | 2024-05-23 16:55:33 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-23 16:55:33 -0400 |
| commit | fd4edcfac9041cadfc4c88257555c02736bc4ba4 (patch) | |
| tree | 934d02f213f3cd07b19cf77a6868ab05e3bf271b /app/controllers/api | |
| parent | 6cf41b4a5c55c91974e31ac032d969c7481b3e80 (diff) | |
| download | gameHolster-fd4edcfac9041cadfc4c88257555c02736bc4ba4.tar.gz gameHolster-fd4edcfac9041cadfc4c88257555c02736bc4ba4.zip | |
update routes and params for games
Diffstat (limited to 'app/controllers/api')
| -rw-r--r-- | app/controllers/api/v1/games_controller.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/controllers/api/v1/games_controller.rb b/app/controllers/api/v1/games_controller.rb index 4338b2d..5a4fca0 100644 --- a/app/controllers/api/v1/games_controller.rb +++ b/app/controllers/api/v1/games_controller.rb @@ -106,7 +106,14 @@ class Api::V1::GamesController < ApplicationController private def game_params - params.require(:game).permit(:title, :card_img, :char_img, :title_img, game_files: []) + params.require(:game).permit( + :title, + :description, + :img_rendering, + :card_img, + :char_img, + :title_img, + game_files: []) end def allow_iframe |
