From 3961cd9c6c5015f5c91e6453b2e2ad11b542790a Mon Sep 17 00:00:00 2001 From: Stephen Howells Date: Sat, 18 Mar 2017 13:53:36 -0700 Subject: [PATCH] post edit for es6 --- ...-5-user-registration-with-devise-vue-js-and-axios.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2017-03-18-rails-5-user-registration-with-devise-vue-js-and-axios.markdown b/_posts/2017-03-18-rails-5-user-registration-with-devise-vue-js-and-axios.markdown index 4958035..9109926 100644 --- a/_posts/2017-03-18-rails-5-user-registration-with-devise-vue-js-and-axios.markdown +++ b/_posts/2017-03-18-rails-5-user-registration-with-devise-vue-js-and-axios.markdown @@ -91,10 +91,10 @@ methods: { password: this.password } }) - .then(function (response) { + .then(response => { // whatever you want }) - .catch(function (error) { + .catch(error => { // whatever you want }) }