diff options
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 |