From: J Guthrie Date: Sat, 27 Apr 2019 11:20:36 +0000 (+0100) Subject: Add geolink class to login/logout referer links X-Git-Tag: live~3192 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/0f83081847a2dcd232dca43d1fe189769fa87b5f Add geolink class to login/logout referer links Fixes #2216 --- diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 1f030862b..a2a63b406 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -102,13 +102,13 @@ <%= yield :greeting %>
  • - <%= link_to t("layouts.logout"), logout_path(:session => session.id, :referer => request.fullpath) %> + <%= link_to t("layouts.logout"), logout_path(:session => session.id, :referer => request.fullpath), :class => "geolink" %>
  • <% else %> <% end %>