diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-19 09:37:42 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-19 15:37:42 +0200 |
commit | a8e1afc30a1f843943bb29e7385b8611ea3c29f4 (patch) | |
tree | c37ec1d7c086943da8bb126fde19f312d5efcad9 /app/controllers/api/v1/follows_controller.rb | |
parent | bfbc2ca0d8dcef47f8581585b42f13b6b4c933d9 (diff) |
Simplify render in controllers (#2144)
Diffstat (limited to 'app/controllers/api/v1/follows_controller.rb')
-rw-r--r-- | app/controllers/api/v1/follows_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/follows_controller.rb b/app/controllers/api/v1/follows_controller.rb index 7c0f44f03..67d823398 100644 --- a/app/controllers/api/v1/follows_controller.rb +++ b/app/controllers/api/v1/follows_controller.rb @@ -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 |