summaryrefslogtreecommitdiff
path: root/app/views/game/finish_activity.js.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-27 18:41:51 -0400
committerDavid Gay <david@davidgay.org>2021-05-27 18:41:51 -0400
commit65c1ee3dbaf5c0a030dd28a7e3f41d47c7652cb1 (patch)
tree7536a43e8656d7cecc867c9a221fced1f225f731 /app/views/game/finish_activity.js.erb
parent2c2de801b4481695f3d1b6b14527116092cb1197 (diff)
Move active action display with timer and results to a `LookController`
Diffstat (limited to 'app/views/game/finish_activity.js.erb')
-rw-r--r--app/views/game/finish_activity.js.erb4
1 files changed, 2 insertions, 2 deletions
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") %>"
}