Remove unnecessary save from follows controller (#1638)

This commit is contained in:
Ben Halpern 2019-01-23 17:58:05 -05:00 committed by GitHub
parent 2e667d0810
commit ea2eead9e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,6 @@ class FollowsController < ApplicationController
Notification.send_new_follower_notification(follow)
"followed"
end
current_user.save
current_user.touch
render json: { outcome: @result }
end