Skip to content

Commit 9f40bcf

Browse files
Account for missing active_session partial
Issues ------ - Closes #39
1 parent b46823a commit 9f40bcf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/generators/rails_mvp_authentication/templates/views/users/edit.html.erb.tt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@
4242
</tr>
4343
</thead>
4444
<tbody>
45-
<%%= render @active_sessions %>
45+
<tr>
46+
<td><%%= active_session.user_agent %></td>
47+
<td><%%= active_session.ip_address %></td>
48+
<td><%%= active_session.created_at %></td>
49+
<td><%%= button_to "Sign Out", active_session_path(active_session), method: :delete %></td>
50+
</tr>
4651
</tbody>
4752
</table>
4853
<%% end %>

0 commit comments

Comments
 (0)