]> git.openstreetmap.org Git - rails.git/blob - app/views/user/logout.html.erb
Add an extra null pointer check that can trigger in tests
[rails.git] / app / views / user / logout.html.erb
1 <h1><%= t 'user.logout.heading' %></h1>
2 <% form_tag :action => "logout" do %>
3   <%= hidden_field_tag("referer", h(params[:referer])) %>
4   <%= hidden_field_tag("session", request.session_options[:id]) %>
5   <%= submit_tag t('user.logout.logout_button') %>
6 <% end %>