Commit 075ad159 authored by Randall Leeds's avatar Randall Leeds

handle server flash messages in AJAX views

parent 2bfc28ef
......@@ -183,10 +183,10 @@ class App
tab: 'login'
# Fetch the initial model from the server
$http.get 'model',
$http.get '',
withCredentials: true
.success (data) =>
angular.extend $scope, data
angular.extend $scope, data.model
$scope.$evalAsync '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