Fix code style.

This commit is contained in:
bootstraponline
2012-07-17 10:55:57 -06:00
parent bb9a9cd0db
commit 78dd5774b3
+10 -10
View File
@@ -113,18 +113,18 @@ module Gollum
tmp_array = folder.split('/')
0.upto(tmp_array.size - 1) do |index|
if cwd_array[index].nil? or changed then
html += new_sub_folder tmp_array[index]
next
end
if cwd_array[index].nil? || changed
html += new_sub_folder tmp_array[index]
next
end
if cwd_array[index] != tmp_array[index] then
changed = true
index.upto(cwd_array.size - 1) do |i|
html += end_folder
end
html += new_sub_folder tmp_array[index]
if cwd_array[index] != tmp_array[index]
changed = true
index.upto(cwd_array.size - 1) do |i|
html += end_folder
end
html += new_sub_folder tmp_array[index]
end
end
html += new_page page