about summary refs log tree commit diff
path: root/app/views/authorize_follow
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-18 11:15:30 -0400
committerEugen <eugen@zeonfederated.com>2017-04-18 17:15:30 +0200
commit84b5fae8e37b9c1b3766efc047993c69ea046ae3 (patch)
tree13451fed7e9d82750cfce45b269a06d81fc637e9 /app/views/authorize_follow
parentd90b1650d805f4cede5cff255530aa3fb4429864 (diff)
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
Diffstat (limited to 'app/views/authorize_follow')
-rw-r--r--app/views/authorize_follow/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/authorize_follow/new.html.haml b/app/views/authorize_follow/new.html.haml
index 95601253e..3b60df058 100644
--- a/app/views/authorize_follow/new.html.haml
+++ b/app/views/authorize_follow/new.html.haml
@@ -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