Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-27 06:28:11 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-27 06:28:11 +0300
commitaac36b120ef86469feb05ae5db39205493f851ed (patch)
tree145b8cf3581d700610a6fd2430f18233df48fa8d /app
parente6b97d09470b01b5b65e87dab339c500f1bac45f (diff)
Fix app title when browse blob
Diffstat (limited to 'app')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 9d2c99356af..db4bb303d0f 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