Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing another place to use main_app.root_url for redirect

  • Loading branch information...
commit c6a805e54b5b8582dc68996d5d790a51d9997efe 1 parent a257dab
@dharmamike authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/nopassword/check_session.rb
View
2  app/controllers/nopassword/check_session.rb
@@ -5,7 +5,7 @@ def check_valid_session
@current_session = Nopassword::LoginSession.find_by_id(session[:login_session])
if !@current_session.active?
session[:login_session] = nil
- redirect_to root_url
+ redirect_to main_app.root_url
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.