Simplify renders in views (#2084)

* Simplify render in mailer views

* Simplify render in about/more view

* Simplify render in accounts follow views

* Simplify render in recovery code views

* Simplify render in stream entry embed

* Simplify render in stream entries status partial

* Simplify render in authorize follow new view
This commit is contained in:
Matt Jankowski
2017-04-18 11:15:30 -04:00
committed by Eugen
parent d90b1650d8
commit 84b5fae8e3
12 changed files with 12 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
.follow-prompt
%h2= t('authorize_follow.prompt_html', self: current_account.username)
= render partial: 'card', locals: { account: @account }
= render 'card', account: @account
= form_tag authorize_follow_path, method: :post, class: 'simple_form' do
= hidden_field_tag :acct, @account.acct