diff --git a/lib/git_stats/stats_view/view.rb b/lib/git_stats/stats_view/view.rb index f0a09ee14..9ece87abf 100644 --- a/lib/git_stats/stats_view/view.rb +++ b/lib/git_stats/stats_view/view.rb @@ -17,7 +17,7 @@ module GitStats end def all_templates - %w(index activity authors files) + %w(index activity authors files lines) end def prepare_assets diff --git a/templates/files.haml b/templates/files.haml index ed5987c6a..52505d908 100644 --- a/templates/files.haml +++ b/templates/files.haml @@ -1,2 +1 @@ = high_chart("files_by_date", files_by_date) -= high_chart("lines_by_date", lines_by_date) \ No newline at end of file diff --git a/templates/lines.haml b/templates/lines.haml new file mode 100644 index 000000000..fa40ba037 --- /dev/null +++ b/templates/lines.haml @@ -0,0 +1 @@ += high_chart("lines_by_date", lines_by_date) \ No newline at end of file