From cc4f5b821453bd5a6b4d55ddecf9d2e2c92d14e0 Mon Sep 17 00:00:00 2001 From: AI-Mozi Date: Tue, 21 May 2024 18:06:34 +0200 Subject: [PATCH] Use `@software` insted of `@os` in `software/show.erb` --- views/db/software/show.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/views/db/software/show.erb b/views/db/software/show.erb index 0a07f90..01375a9 100644 --- a/views/db/software/show.erb +++ b/views/db/software/show.erb @@ -17,20 +17,20 @@ Name: - <%=h @os.name %> + <%=h @software.name %> Version: - <%=h @os.version %> + <%=h @software.version %> Vendor: - <% if @os.vendor %> - - <%=h @os.vendor %> + <% if @software.vendor %> + + <%=h @software.vendor %> <% end %> @@ -39,7 +39,7 @@ Open Ports: - <% @os.open_ports.each do |open_port| %> + <% @software.open_ports.each do |open_port| %>

<%=h open_port %>