lib/locomotive/mounter/reader/api/pages_reader.rb
# Build the tree of pages based on the filesystem structure
#
# @return [ Hash ] The pages organized as a Hash (using the fullpath as the key)
#
Build the tree of pages based on the filesystem structure
Build the tree of pages based on the filesystem structure
def read
            super
            self.fetch
            index = self.pages['index']
            self.build_relationships(index, self.pages_to_list)
            self.pages
          end
def read super self . fetch index = self . pages [ 'index' ] self . build_relationships ( index , self . pages_to_list ) self . pages end
Build the tree of pages based on the filesystem structure
Build the tree of pages based on the filesystem structure
# Locomotive::Mounter.with_locale(:en) { self.to_s } # DEBUG # self.to_s
The pages organized as a Hash (using the fullpath as the key)
The pages organized as a Hash ( using the fullpath as the key )
 Hash 