summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-03 21:26:14 -0400
committerDavid Gay <david@davidgay.org>2021-06-03 21:26:14 -0400
commit60c9de4956547d46390c948146aa6e0c865ffcda (patch)
tree7bbde799de9cec589a53a08b8e4dccf98bfdc8e3 /app/controllers/application_controller.rb
parent7f129f24e351cafafdb4bc58a44ca0d714e30af6 (diff)
Move timer and results to new game containers which are always visible
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 7a59299..181841d 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -23,7 +23,7 @@ class ApplicationController < ActionController::Base
end
queued_actions = params[:actions].present? ? params[:actions].to_i - 1 : nil
if current_char.start_activity(activity, queued_actions: queued_actions)
- redirect_to look_path
+ redirect_to character_path(current_char)
else
message = "You can't do that."
message += " (requires #{activity.requirements&.join(", ")})" if activity.requirements.any?