diff options
author | David Gay <david@davidgay.org> | 2021-06-03 21:26:14 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-03 21:26:14 -0400 |
commit | 60c9de4956547d46390c948146aa6e0c865ffcda (patch) | |
tree | 7bbde799de9cec589a53a08b8e4dccf98bfdc8e3 /app/controllers | |
parent | 7f129f24e351cafafdb4bc58a44ca0d714e30af6 (diff) |
Move timer and results to new game containers which are always visible
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/application_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/look_controller.rb | 4 |
2 files changed, 1 insertions, 5 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? diff --git a/app/controllers/look_controller.rb b/app/controllers/look_controller.rb deleted file mode 100644 index 17cbbcb..0000000 --- a/app/controllers/look_controller.rb +++ /dev/null @@ -1,4 +0,0 @@ -class LookController < ApplicationController - def show - end -end |