Skip to content

Commit 4294de0

Browse files
committed
Fix translation key on user admin page
The translation keys are namespaced in the `alchemy_i18n` repository. This commit fixes the user admin page so the key is in line with those keys.
1 parent 086f269 commit 4294de0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/alchemy/admin/users/_user.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<td><%= user.lastname %></td>
1818
<td class="email"><%= user.email %></td>
1919
<td><%= Alchemy.t(user.language, scope: 'translations', default: Alchemy.t(:unknown)) %></td>
20-
<td><%= user.last_sign_in_at.present? ? l(user.last_sign_in_at, format: :default) : Alchemy.t(:unknown) %></td>
20+
<td><%= user.last_sign_in_at.present? ? l(user.last_sign_in_at, format: 'alchemy.default'.to_sym) : Alchemy.t(:unknown) %></td>
2121
<td class="role"><%= user.human_roles_string %></td>
2222
<td class="tools">
2323
<% if can?(:destroy, user) %>

0 commit comments

Comments
 (0)