Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of git://github.com/kballard/gitnub into kballa…

…rd/master
  • Loading branch information...
commit 4583f13a3888428e9edf2d5a3c690e9217060d10 2 parents 9c0da2e + 98b5ff6
@Caged Caged authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  CommitsController.rb
View
2  CommitsController.rb
@@ -133,7 +133,7 @@ def update_main_document
li.setInnerHTML(%(<a href="#diff-#{i}" class="">#{diff.b_path}</a>))
file_list.appendChild(li)
- unless diff.deleted_file
+ unless diff.deleted_file or diff.diff.nil?
diff_div = doc.createElement('div')
diff_div.setAttribute__('class', 'diff')
diff_div.setAttribute__('id', "diff-#{i}")
Please sign in to comment.
Something went wrong with that request. Please try again.