app/controllers/tramway/user/web/sessions_controller.rb in tramway-user-1.0.2 vs app/controllers/tramway/user/web/sessions_controller.rb in tramway-user-1.0.2.1
- old
+ new
@@ -23,10 +23,10 @@
end
private
def redirect_if_signed_in
- redirect_to ::Tramway::User.root_path if signed_in?
+ redirect_to ::Tramway::User.root_path if signed_in? && request.env['PATH_INFO'] != ::Tramway::User.root_path
end
end
end
end