Fix app title when browse blob
This commit is contained in:
parent
e6b97d0947
commit
aac36b120e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue