lib/yard/server/commands/display_object_command.rb in yard-0.9.2 vs lib/yard/server/commands/display_object_command.rb in yard-0.9.3
- old
+ new
@@ -24,10 +24,10 @@
if object = Registry.at(object_path)
options.update(:type => :layout)
render(object)
else
- self.status = 404
+ not_found
end
end
def index
Registry.load_all