lib/rubycritic/report_generators/templates/code_index.html.erb in rubycritic-0.0.15 vs lib/rubycritic/report_generators/templates/code_index.html.erb in rubycritic-0.0.16

- old
+ new

@@ -11,10 +11,10 @@ </thead> <tbody> <% @analysed_files.each do |analysed_file| %> <tr> <td class="first-cell"> - <a href="<%= file_path(analysed_file.pathname) %>"><%= analysed_file.name %></a> + <a href="<%= file_path(analysed_file.pathname.sub_ext('.html')) %>"><%= analysed_file.name %></a> </td> <td class="numeric-cell"><%= analysed_file.churn %></td> <td class="numeric-cell"><%= analysed_file.complexity %></td> <td class="numeric-cell"><%= analysed_file.duplication %></td> <td class="numeric-cell"><%= analysed_file.smells.length %></td>