diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index a431a13f..29e638ea 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -35,7 +35,7 @@ class SessionsController < ApplicationController @session.destroy respond_to do |format| - format.html { respond_with(@session, location: maps_url) } + format.html { respond_with(@session, location: restore(default: root_path)) } end end