lib/utopia/content/links.rb
def load_default_index(name = INDEX, info = {})
					path = @top + name
					
					if info
						info = DEFAULT_INDEX_INFO.merge(info)
					else
						info = DEFAULT_INDEX_INFO
					end
					
					# Specify a nil uri if no index could be found for the directory:
					yield Link.new(:index, name, nil, @top.to_directory, info, path[-2])
				end
# The default index for a directory which has no contents.
The default index for a directory which has no contents.
The default index for a directory which has no contents .
def load_default_index(name = INDEX, info = {})
					path = @top + name
					if info
						info = DEFAULT_INDEX_INFO.merge(info)
					else
						info = DEFAULT_INDEX_INFO
					end
					yield Link.new(:index, name, nil, @top.to_directory, info, path[-2])
				end
def load_default_index ( name = INDEX , info = { } ) path = @top + name if info info = DEFAULT_INDEX_INFO . merge ( info ) else info = DEFAULT_INDEX_INFO end yield Link . new ( :index , name , nil , @top . to_directory , info , path [ - 2 ] ) end
The default index for a directory which has no contents.
The default index for a directory which has no contents .
# Specify a nil uri if no index could be found for the directory:
name
info