Simplify render in controllers (#2144)
This commit is contained in:
parent
bfbc2ca0d8
commit
a8e1afc30a
9 changed files with 27 additions and 27 deletions
|
@ -10,7 +10,7 @@ class Api::V1::FollowsController < ApiController
|
|||
raise ActiveRecord::RecordNotFound if follow_params[:uri].blank?
|
||||
|
||||
@account = FollowService.new.call(current_user.account, target_uri).try(:target_account)
|
||||
render action: :show
|
||||
render :show
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue