file name overflow fixed
This commit is contained in:
parent
a59b709021
commit
3f0d807955
6 changed files with 17 additions and 3 deletions
|
@ -6,6 +6,8 @@ class TreeDecorator < ApplicationDecorator
|
|||
part_path = ""
|
||||
parts = path.split("\/")
|
||||
|
||||
parts = parts[0...-1] if is_blob?
|
||||
|
||||
yield(h.link_to("..", "#", :remote => :true)) if parts.count > max_links
|
||||
|
||||
parts.each do |part|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue