From ec05d9daf92ea1df8354dfb2c9cdcaea3d38b617 Mon Sep 17 00:00:00 2001 From: Valeriy Sizov Date: Wed, 17 Oct 2012 00:13:37 +0300 Subject: [PATCH] WebEditor: show branch #1705 --- app/views/tree/edit.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/tree/edit.html.haml b/app/views/tree/edit.html.haml index d84f542..e1a616a 100644 --- a/app/views/tree/edit.html.haml +++ b/app/views/tree/edit.html.haml @@ -4,7 +4,7 @@ .file_title %i.icon-file %span.file_name - = @tree.path.force_encoding('utf-8') + = "#{@tree.path.force_encoding('utf-8')} (#{@ref})" %span.options = link_to "cancel editing", project_tree_path(@project, @id), class: "btn very_small" .file_content.code -- libgit2 0.21.2