lib/gitdocs/views/home.haml in gitdocs-0.5.0 vs lib/gitdocs/views/home.haml in gitdocs-0.6.0

- old
+ new

@@ -1,10 +1,10 @@ - @title = 'Pick a Share' %p Select a share to browse: %table#shares - - shares.each_with_index do |share, idx| + - Gitdocs::Share.all.each do |share| %tr %td - %a{ href: "/#{idx}" } - = share.root + %a{ href: "/#{share.id}" } + = share.path