Remove unnecessary save from follows controller (#1638)
This commit is contained in:
parent
2e667d0810
commit
ea2eead9e3
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue