Update view.rb

Was crashing on cygwin when trying to generate author statistics because of a bad asset path.
This commit is contained in:
Jason Dunnivant 2015-02-13 10:29:38 -05:00
parent 2126929976
commit d6de017109

View file

@ -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