]> cat aescling's git repositories - mastodon.git/commitdiff
Remove unused view files in accounts/ (#2153)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Wed, 19 Apr 2017 15:19:23 +0000 (11:19 -0400)
committerEugen <eugen@zeonfederated.com>
Wed, 19 Apr 2017 15:19:23 +0000 (17:19 +0200)
app/views/accounts/followers.html.haml [deleted file]
app/views/accounts/following.html.haml [deleted file]

diff --git a/app/views/accounts/followers.html.haml b/app/views/accounts/followers.html.haml
deleted file mode 100644 (file)
index 9e1643b..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-- content_for :page_title do
-  = t('accounts.people_who_follow', name: display_name(@account))
-
-= render 'header', account: @account
-
-.accounts-grid
-  - if @followers.empty?
-    = render 'nothing_here'
-  - else
-    = render partial: 'grid_card', collection: @followers, as: :account, cached: true
-
-= paginate @followers
diff --git a/app/views/accounts/following.html.haml b/app/views/accounts/following.html.haml
deleted file mode 100644 (file)
index 19138b0..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-- content_for :page_title do
-  = t('accounts.people_followed_by', name: display_name(@account))
-
-= render 'header', account: @account
-
-.accounts-grid
-  - if @following.empty?
-    = render 'nothing_here'
-  - else
-    = render partial: 'grid_card', collection: @following, as: :account, cached: true
-
-= paginate @following