No need for explicit h() escaping in new code

This commit is contained in:
Tom Hughes 2012-04-05 14:09:19 +01:00
parent ec1667fc09
commit 6b159c165a
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
<li><%= link_to h(redaction.title), redaction %></li>
<li><%= link_to redaction.title, redaction %></li>

View file

@ -3,7 +3,7 @@
<p>
<b><%= t 'redaction.show.user' %></b>
<%= link_to(h(@redaction.user.display_name), {:controller => 'user', :action => 'view', :display_name => @redaction.user.display_name}) %>
<%= link_to(@redaction.user.display_name, {:controller => 'user', :action => 'view', :display_name => @redaction.user.display_name}) %>
</p>
<p>
<b><%= t 'redaction.show.description' %></b>