els_bootstrap 0.0.3.1 → 0.0.3.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|