# File lib/yard/server/commands/display_object_command.rb, line 6 def run return index if path.empty? if object = Registry.at(object_path) options.update(:type => :layout) render(object) else self.status = 404 end end