Use local vars in partials (#1935)

* Use local vars in accounts/header partial

* Use local variable in 2fa recovery codes partial
This commit is contained in:
Matt Jankowski
2017-04-16 10:37:49 -04:00
committed by Eugen
parent 90760eae4c
commit 7efde22c3a
7 changed files with 26 additions and 26 deletions

View File

@@ -20,7 +20,7 @@
.h-feed
%data.p-name{ value: "#{@account.username} on #{Rails.configuration.x.local_domain}" }/
= render partial: 'header'
= render 'header', account: @account
- if @statuses.empty?
.accounts-grid