summaryrefslogtreecommitdiff
path: root/app/controllers/activities_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/activities_controller.rb')
-rw-r--r--app/controllers/activities_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb
index 37403c7..a1a1835 100644
--- a/app/controllers/activities_controller.rb
+++ b/app/controllers/activities_controller.rb
@@ -6,7 +6,7 @@ class ActivitiesController < ApplicationController
def start
@activity = Activity.find(params[:id])
if current_char.start_activity(@activity, queued_actions: params[:queued_actions])
- redirect_to activity_path(@activity)
+ redirect_to look_path
else
message = "You can't do that."
message += " (requires #{@activity.requirements&.join(", ")})" if @activity.requirements