From aac36b120ef86469feb05ae5db39205493f851ed Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Mon, 26 Jan 2015 19:28:11 -0800
Subject: [PATCH] Fix app title when browse blob

---
 app/helpers/projects_helper.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 9d2c99356a..db4bb303d0 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -189,6 +189,8 @@ module ProjectsHelper
             elsif current_controller?(:blob)
               if current_action?(:new) || current_action?(:create)
                 "New file at #{@ref}"
+              elsif current_action?(:show)
+                "#{@blob.path} at #{@ref}"
               elsif @blob
                 "Edit file #{@blob.path} at #{@ref}"
               end
-- 
2.30.9