From 65c1ee3dbaf5c0a030dd28a7e3f41d47c7652cb1 Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 27 May 2021 18:41:51 -0400 Subject: Move active action display with timer and results to a `LookController` --- app/views/game/finish_activity.js.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/game/finish_activity.js.erb') diff --git a/app/views/game/finish_activity.js.erb b/app/views/game/finish_activity.js.erb index 0732600..79659b6 100644 --- a/app/views/game/finish_activity.js.erb +++ b/app/views/game/finish_activity.js.erb @@ -1,7 +1,7 @@ var resultOutputDiv = document.getElementById("result_output"); var resultControlsDiv = document.getElementById("result_controls"); -var outputHTML = "<%= j render(partial: "activities/results", locals: { results: @results }) %>" +var outputHTML = "<%= j render(partial: "look/results", locals: { results: @results }) %>" if (resultOutputDiv) { resultOutputDiv.innerHTML += outputHTML; @@ -11,5 +11,5 @@ if (resultOutputDiv) { } if (resultControlsDiv) { - resultControlsDiv.innerHTML = "<%= j render(partial: "activities/timer") %>" + resultControlsDiv.innerHTML = "<%= j render(partial: "look/timer") %>" } -- cgit v1.2.3