diff options
author | David Gay <david@davidgay.org> | 2021-05-24 22:44:18 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-24 22:44:18 -0400 |
commit | 33bac455f70f6bab0c1b81f0d425a993b08c8893 (patch) | |
tree | b29cae5dda6ee1be4e3193c50d33c7a96cfc052a /app/controllers | |
parent | 90773f50eedb55aa1a27ebe21431ea87472946e2 (diff) |
Clean up line (please ignore how I just jacked up git)
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 0ea8f47..f3de3a8 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -8,7 +8,7 @@ class ApplicationController < ActionController::Base end def redirect_if_no_active_character - redirect_to new_character_path unless current_user.nil? || current_char + redirect_to new_character_path if (current_user && current_char.nil?) end def roll(sides) |