From 5ec4d4cdab31509ff7afa5a9415850885885a6c4 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang <jp_lang@yahoo.fr>
Date: Sat, 18 Jul 2009 09:59:55 +0000
Subject: [PATCH] Adds a link to the file history on repository file views.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2823 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 app/views/repositories/_link_to_functions.rhtml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/views/repositories/_link_to_functions.rhtml b/app/views/repositories/_link_to_functions.rhtml
index 7737bf484..a699938de 100644
--- a/app/views/repositories/_link_to_functions.rhtml
+++ b/app/views/repositories/_link_to_functions.rhtml
@@ -1,4 +1,5 @@
 <p>
+<%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
 <% if @repository.supports_cat? %>
     <%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
 <% end %>
-- 
GitLab