about summary refs log tree commit diff
path: root/app/views/auth/registrations
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-03-15 15:07:43 -0400
committerGitHub <noreply@github.com>2023-03-15 20:07:43 +0100
commit65669d3c5719e72000bf26849d0ee1eaec1f9d1b (patch)
tree10ee37c8188e69516bd5e9a045f966b6e1124699 /app/views/auth/registrations
parent0b8b0ef65221e5341cd81b212f0e40722ffd5ef7 (diff)
Fix more haml-lint Rubocop (#24107)
Diffstat (limited to 'app/views/auth/registrations')
-rw-r--r--app/views/auth/registrations/_sessions.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/auth/registrations/_sessions.html.haml b/app/views/auth/registrations/_sessions.html.haml
index c094dfd25..55d753c18 100644
--- a/app/views/auth/registrations/_sessions.html.haml
+++ b/app/views/auth/registrations/_sessions.html.haml
@@ -20,7 +20,7 @@
             %span{ title: session.user_agent }<
               = fa_icon "#{session_device_icon(session)} fw", 'aria-label': session_device_icon(session)
               = ' '
-              = t 'sessions.description', browser: t("sessions.browsers.#{session.browser}", default: "#{session.browser}"), platform: t("sessions.platforms.#{session.platform}", default: "#{session.platform}")
+              = t 'sessions.description', browser: t("sessions.browsers.#{session.browser}", default: session.browser.to_s), platform: t("sessions.platforms.#{session.platform}", default: session.platform.to_s)
           %td
             %samp= session.ip
           %td