Make the Sinatra app directory aware.

This commit is contained in:
Darren Oakley
2012-06-18 16:00:14 +01:00
parent b53c961db2
commit 971cbb94f6
25 changed files with 468 additions and 127 deletions
+1 -1
View File
@@ -470,7 +470,7 @@ module Gollum
@repo.git.grep(*args).split("\n").map! do |line|
result = line.split(':')
file_name = Gollum::Page.canonicalize_filename(::File.basename(result[1]))
file_name = result[1].gsub( ::File.extname(result[1]), '' )
{
:count => result[2].to_i,