From d6de017109eb84b9f96e205fb124addd48e8865f Mon Sep 17 00:00:00 2001 From: Jason Dunnivant Date: Fri, 13 Feb 2015 10:29:38 -0500 Subject: [PATCH] Update view.rb Was crashing on cygwin when trying to generate author statistics because of a bad asset path. --- lib/git_stats/stats_view/view.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git_stats/stats_view/view.rb b/lib/git_stats/stats_view/view.rb index d99dd0050..e438491bd 100644 --- a/lib/git_stats/stats_view/view.rb +++ b/lib/git_stats/stats_view/view.rb @@ -28,7 +28,7 @@ module GitStats output = Template.new(template, @layout).render(@view_data, author: author, links: links, - active_page: "/authors/#{author.dirname}/#{template}") + active_page: "authors/#{author.dirname}/#{template}") write(output, "#@out_path/authors/#{author.dirname}/#{template}.html") end end