lib/bonsai/navigation.rb in bonsai-1.1.0 vs lib/bonsai/navigation.rb in bonsai-1.1.1
- old
+ new
@@ -1,7 +1,7 @@
module Bonsai
class Navigation
def self.tree
- Page.all(Page.path, "*").select{|p| File.dirname(p.disk_path).match(/\d.*$/) }
+ Page.all(Page.path, "*").select{|p| !p.floating? }
end
end
end
\ No newline at end of file