Fix haml-lint InstanceVariables
rule for relationships/account (#27342)
This commit is contained in:
parent
f1ae72ba46
commit
d7a8f6b658
3 changed files with 5 additions and 6 deletions
|
@ -6,7 +6,7 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td.accounts-table__interrelationships
|
||||
= interrelationships_icon(@relationships, account.id)
|
||||
= interrelationships_icon(relationships, account.id)
|
||||
%td= account_link_to account
|
||||
%td.accounts-table__count.optional
|
||||
= friendly_number_to_human account.statuses_count
|
||||
|
|
|
@ -53,6 +53,6 @@
|
|||
- if @accounts.empty?
|
||||
= nothing_here 'nothing-here--under-tabs'
|
||||
- else
|
||||
= render partial: 'account', collection: @accounts, locals: { f: f }
|
||||
= render partial: 'account', collection: @accounts, locals: { f: f, relationships: @relationships }
|
||||
|
||||
= paginate @accounts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue