els_bootstrap 0.0.3.1 → 0.0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -84,7 +84,7 @@ class ElsSessionController < ApplicationController
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
def go_back
|
|
87
|
-
if session[:redirect_to] =~ /els_session\//
|
|
87
|
+
if session[:redirect_to].nil? || session[:redirect_to] =~ /els_session\//
|
|
88
88
|
# Do not redirect back to a session action
|
|
89
89
|
redirect_to root_path
|
|
90
90
|
else
|