Commit e94c4445 authored by Randall Leeds's avatar Randall Leeds

code style consistency

parent 186e2b69
......@@ -109,7 +109,7 @@ class App
'Content-Type': 'application/x-www-form-urlencoded'
withCredentials: true
.success (data) =>
if data.model? then angular.extend($scope, data.model)
if data.model? then angular.extend $scope, data.model
if data.flash? then flash q, msgs for q, msgs of data.flash
if data.status is 'failure' then flash 'error', data.reason
......
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