diff --git a/README.md b/README.md index 3973b83..733b856 100644 --- a/README.md +++ b/README.md @@ -205,12 +205,6 @@ create(user) ### AJAX and Vue ```js -// app.js - -Gate.prototype.before = function () { - return this.user.id == 1; -} - Vue.prototype.$Gate = new Gate; Vue.component('posts', { @@ -224,7 +218,7 @@ Vue.component('posts', { }; }, template: ` - + ` });