diff options
Diffstat (limited to 'app/controllers/admin/games_controller.rb')
-rw-r--r-- | app/controllers/admin/games_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/games_controller.rb b/app/controllers/admin/games_controller.rb index 5bc6de9..ee5fe59 100644 --- a/app/controllers/admin/games_controller.rb +++ b/app/controllers/admin/games_controller.rb | |||
@@ -46,7 +46,7 @@ class Admin::GamesController < Admin::AdminController | |||
46 | private | 46 | private |
47 | 47 | ||
48 | def game_params | 48 | def game_params |
49 | params.require(:game).permit(:title, :description, :status, :progress, :score) | 49 | params.require(:game).permit(:title, :description, :status, :progress, :score, :started_on, :finished_on) |
50 | end | 50 | end |
51 | 51 | ||
52 | def set_section | 52 | def set_section |