Relativize paths to project for folder label

This commit is contained in:
Kevin Sawicki
2013-03-28 23:14:15 -04:00
parent 1ccfbe22dc
commit 327b49797b

View File

@@ -60,7 +60,7 @@ class FuzzyFinderView extends SelectList
typeClass = 'text-name'
@span fs.base(path), class: "file label #{typeClass}"
if folder = fs.directory(path)
if folder = fs.directory(project.relativize(path))
@span " - #{folder}/", class: 'directory'
openPath: (path) ->