summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-04 10:39:28 -0400
committerDavid Gay <david@davidgay.org>2021-06-04 10:39:28 -0400
commit0371c5b9a0303d24f043ae84f827f760ac8680ae (patch)
tree32268da121df10f80ff522ae86c028551942c530 /app/controllers/application_controller.rb
parent8c83a0a78cf9e02de782f46337a686208e0ed7ac (diff)
Adjust error message since Rest section has been removed from Character view
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 181841d..81fb58a 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -18,7 +18,7 @@ class ApplicationController < ActionController::Base
private
def start_activity(activity)
if current_char.resting?
- flash[:alert] = "You can't do anything while you're resting. Go to the Character page to stop resting."
+ flash[:alert] = "You can't do anything while you're resting."
redirect_to character_path(current_char) and return
end
queued_actions = params[:actions].present? ? params[:actions].to_i - 1 : nil