From: Aaron Lidman Date: Fri, 15 Nov 2013 23:48:11 +0000 (-0800) Subject: Don't render the user menu for users without ids, closed #68 X-Git-Tag: live~4653^2~55 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/74be05018b4e7e23694e23b87f877b832a121996?ds=sidebyside Don't render the user menu for users without ids, closed #68 --- diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index dbb9966b6..efe9efdf8 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -49,7 +49,7 @@ - <% if @user %> + <% if @user && @user.id %>