]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/map.html.erb
Merge pull request #4278 from tomhughes/rails71
[rails.git] / app / views / layouts / map.html.erb
index 40f06a8990f41878c51033a95c35b277525cc5d1..377f961499cb7154f07a712701330ad867268cf3 100644 (file)
@@ -4,7 +4,7 @@
 
 <% content_for(:body_class) { "map-layout" } %>
 
 
 <% content_for(:body_class) { "map-layout" } %>
 
-<% if current_user&.has_home? %>
+<% if current_user&.home_location? %>
   <% content_for :greeting do %>
     <%= link_to t("layouts.home"),
                 "#",
   <% content_for :greeting do %>
     <%= link_to t("layouts.home"),
                 "#",