Skip to content

Commit 1d29b2e

Browse files
author
Dave Syer
committed
Clarify that logout function is an addition
Hopefully adding ellipses will make it clearer that the logout function has been added to the angular app, not replacing it completely(!) Fixes spring-guidesgh-37
1 parent 6efce64 commit 1d29b2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

logout/README.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ JavaScript:
3434
----
3535
angular
3636
.module("app", [])
37+
...
3738
.controller("home", function($http, $location) {
3839
var self = this;
40+
...
3941
self.logout = function() {
4042
$http.post('/logout', {}).success(function() {
4143
self.authenticated = false;

0 commit comments

Comments
 (0)