No need for explicit h() escaping in new code
This commit is contained in:
parent
ec1667fc09
commit
6b159c165a
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
<li><%= link_to h(redaction.title), redaction %></li>
|
||||
<li><%= link_to redaction.title, redaction %></li>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue