Skip to content

Commit

Permalink
Fixes #31495: Set a title on the logout page
Browse files Browse the repository at this point in the history
This prevents a javascript error by the Breadcrumb component and
adds some notion of what page the user is on.
  • Loading branch information
ehelms authored and ekohl committed Dec 14, 2020
1 parent a1d2942 commit fb285ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/users/logout.html.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<% title _('Logout') %>
<h2><%= _('Are you sure you want to log out?') %></h2>
<%= button_to _('Yes'), logout_users_url, :class => 'btn btn-primary' %>

0 comments on commit fb285ce

Please sign in to comment.