From 99a6887a8491ef4083e7d25cd355b32d15eca110 Mon Sep 17 00:00:00 2001 From: Florian Kraft Date: Wed, 20 May 2015 11:59:58 +0200 Subject: [PATCH] Update show.html.erb --- app/views/documents/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index cf74752fd7..3b6a7cd358 100644 --- a/app/views/documents/show.html.erb +++ b/app/views/documents/show.html.erb @@ -31,7 +31,7 @@ See doc/COPYRIGHT.rdoc for more details. ++#%> <% html_title h(@document.title) -%> -<%= toolbar title: @document.title, subtitle: "#{h @document.category.name} - #{format_date @document.created_on}" do %> +<%= toolbar title: h(@document.title), subtitle: "#{h @document.category.name} - #{format_date @document.created_on}" do %> <% if authorize_for(:documents, :edit) %>
  • <%= link_to({:controller => '/documents', :action => 'edit', :id => @document}, class: 'button', accesskey: accesskey(:edit)) do %>