Commit 5ce4c833 authored by Randall Leeds's avatar Randall Leeds

leverage base url in controllers

parent cd1acbf1
......@@ -123,7 +123,7 @@ class App
$scope.$watch 'persona', (newValue, oldValue) =>
if oldValue? and not newValue?
# TODO: better knowledge of routes
$http.post '/app/logout', '',
$http.post 'logout', '',
withCredentials: true
.success (data) =>
$scope.$broadcast '$reset'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment