From 60c9de4956547d46390c948146aa6e0c865ffcda Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 3 Jun 2021 21:26:14 -0400 Subject: Move timer and results to new game containers which are always visible --- app/controllers/application_controller.rb | 2 +- app/controllers/look_controller.rb | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 app/controllers/look_controller.rb (limited to 'app/controllers') 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 -- cgit v1.2.3