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 }) }