diff options
author | David Gay <david@davidgay.org> | 2021-05-24 22:45:15 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-24 22:45:15 -0400 |
commit | 60b1c2fbda7f67810fbda5f5bb671a0e123be5e4 (patch) | |
tree | b29cae5dda6ee1be4e3193c50d33c7a96cfc052a /app | |
parent | 8d0e097274d1965764279c2051d52fe221fdd6ca (diff) | |
parent | 33bac455f70f6bab0c1b81f0d425a993b08c8893 (diff) |
Merge branch 'develop' (whoops)
Diffstat (limited to 'app')
-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) |