提交 aac36b12 编写于 作者: D Dmitriy Zaporozhets

Fix app title when browse blob

上级 e6b97d09
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册