Permalink
Browse files

Use the existing helper.

DRY FTW.
  • Loading branch information...
1 parent a8d0674 commit 4c997efe296ba9797380464444cc0ef1eb9b285e @lazyatom-and-floehopper lazyatom-and-floehopper committed Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/ministerial_roles/show.html.erb
@@ -10,7 +10,7 @@
</section>
<section class="current_person page_detail">
- <div class="img"><%= image_tag @ministerial_role.current_person_image_url || 'blank-person.png' %></div>
+ <div class="img"><%= image_for_ministerial_role @ministerial_role %></div>
<h2 class="name"><%= @ministerial_role.current_person_name %></h2>
<div class="biography">
<%= format_in_paragraphs(@ministerial_role.current_person_biography) %>

0 comments on commit 4c997ef

Please sign in to comment.