fixed logout path issue. now returns you to homepage when you log out.
This commit is contained in:
parent
9e7c6b0f02
commit
f81ea7489f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue