fixed logout path issue. now returns you to homepage when you log out.

This commit is contained in:
Connor Turland 2012-10-28 14:48:42 -04:00
parent 9e7c6b0f02
commit f81ea7489f

View file

@ -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