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:
parent
90760eae4c
commit
7efde22c3a
7 changed files with 26 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue