From dfb02fe0d5cac7bc709ffd1b3eca779842f59d21 Mon Sep 17 00:00:00 2001 From: AI-Mozi Date: Tue, 9 Apr 2024 19:26:27 +0200 Subject: [PATCH] Use correct ivar in credentials show view --- views/db/credentials/show.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/db/credentials/show.erb b/views/db/credentials/show.erb index 2517fb3..58313a1 100644 --- a/views/db/credentials/show.erb +++ b/views/db/credentials/show.erb @@ -9,8 +9,8 @@ <% end %>
-

Credential: <%=h @password %>

- <%= partial(:delete, record: @password, path: "credentials") %> +

Credential: <%=h @credential %>

+ <%= partial(:delete, record: @credential, path: "credentials") %>