about summary refs log tree commit diff
path: root/app/views/accounts/following.html.haml
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-16 10:37:49 -0400
committerEugen <eugen@zeonfederated.com>2017-04-16 16:37:49 +0200
commit7efde22c3ab0464a0896abcaa8be277fd14bdee9 (patch)
treedf9e7c44f606840338e9320337dba27e1cd6f0e6 /app/views/accounts/following.html.haml
parent90760eae4c044817728859e1adf6f57930d83b98 (diff)
Use local vars in partials (#1935)
* Use local vars in accounts/header partial

* Use local variable in 2fa recovery codes partial
Diffstat (limited to 'app/views/accounts/following.html.haml')
-rw-r--r--app/views/accounts/following.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/following.html.haml b/app/views/accounts/following.html.haml
index 987dcba1f..4711997d9 100644
--- a/app/views/accounts/following.html.haml
+++ b/app/views/accounts/following.html.haml
@@ -1,7 +1,7 @@
 - content_for :page_title do
   = t('accounts.people_followed_by', name: display_name(@account))
 
-= render partial: 'header'
+= render 'header', account: @account
 
 .accounts-grid
   - if @following.empty?