parent
e906677092
commit
8c0b19012b
4 changed files with 27 additions and 7 deletions
|
@ -7,7 +7,7 @@ class Api::FollowsController < ApiController
|
|||
raise ActiveRecord::RecordNotFound
|
||||
end
|
||||
|
||||
@follow = FollowService.new.(current_user.account, params[:uri])
|
||||
@account = FollowService.new.(current_user.account, params[:uri]).try(:target_account)
|
||||
render action: :show
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue