assets/result.html.erb in rails_best_practices-1.21.0 vs assets/result.html.erb in rails_best_practices-1.22.0
- old
+ new
@@ -113,9 +113,11 @@
<% @errors.each do |error| %>
<tr class="<%= error.type.split(':').last %>">
<td class='filename'>
<% if @github %>
<a href='<%= @github_name %>/blob/<%= @last_commit_id %>/<%= error.short_filename %>#L<%= error.first_line_number %>' target='_blank'><%= error.short_filename %></a>
+ <% elsif @atom %>
+ <a href='atom://core/open/file?filename=<%= File.expand_path(error.filename) %>&line=<%= error.line_number %>'><%= error.short_filename %></a>
<% elsif @textmate %>
<a href='txmt://open/?url=file://<%= File.expand_path(error.filename) %>&line=<%= error.line_number %>'><%= error.short_filename %></a>
<% elsif @sublime %>
<a href='subl://open?url=file://<%= File.expand_path(error.filename) %>&line=<%= error.line_number %>'><%= error.short_filename %></a>
<% elsif @mvim %>