From 49834a6e7f06301a5bcc17b8771ed4513622b6a8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 29 Dec 2016 20:12:32 +0100 Subject: Add API for retrieving blocked accounts --- app/helpers/api/oembed_helper.rb | 2 -- app/helpers/api/v1/follow_requests_helper.rb | 2 -- app/helpers/authorize_follow_helper.rb | 2 ++ app/helpers/stream_entries_helper.rb | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 app/helpers/api/oembed_helper.rb delete mode 100644 app/helpers/api/v1/follow_requests_helper.rb (limited to 'app/helpers') diff --git a/app/helpers/api/oembed_helper.rb b/app/helpers/api/oembed_helper.rb deleted file mode 100644 index 05d5ca216..000000000 --- a/app/helpers/api/oembed_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module Api::OembedHelper -end diff --git a/app/helpers/api/v1/follow_requests_helper.rb b/app/helpers/api/v1/follow_requests_helper.rb deleted file mode 100644 index b36faf2a3..000000000 --- a/app/helpers/api/v1/follow_requests_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module Api::V1::FollowRequestsHelper -end diff --git a/app/helpers/authorize_follow_helper.rb b/app/helpers/authorize_follow_helper.rb index 43659ccfa..99ee03c2f 100644 --- a/app/helpers/authorize_follow_helper.rb +++ b/app/helpers/authorize_follow_helper.rb @@ -1,2 +1,4 @@ +# frozen_string_literal: true + module AuthorizeFollowHelper end diff --git a/app/helpers/stream_entries_helper.rb b/app/helpers/stream_entries_helper.rb index 5cd65008e..ae2f575b5 100644 --- a/app/helpers/stream_entries_helper.rb +++ b/app/helpers/stream_entries_helper.rb @@ -10,7 +10,7 @@ module StreamEntriesHelper end def avatar_for_status_url(status) - status.reblog? ? status.reblog.account.avatar.url( :original) : status.account.avatar.url( :original) + status.reblog? ? status.reblog.account.avatar.url(:original) : status.account.avatar.url(:original) end def entry_classes(status, is_predecessor, is_successor, include_threads) -- cgit