From bcf6445d92f1a57dff0b97bd9309f40b70088448 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 13 Mar 2019 10:18:45 -0400 Subject: Added started/finished on dates to Game --- app/controllers/admin/games_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/admin') 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 private def game_params - params.require(:game).permit(:title, :description, :status, :progress, :score) + params.require(:game).permit(:title, :description, :status, :progress, :score, :started_on, :finished_on) end def set_section -- cgit 1.4.1