X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6290405336817cd282ad5062ce3fc3774ccf61e4..17bea98e199f204b22847356fc64beaa81a9373a:/app/views/user_blocks/_navigation.html.erb?ds=sidebyside diff --git a/app/views/user_blocks/_navigation.html.erb b/app/views/user_blocks/_navigation.html.erb index f53f5cf28..061989586 100644 --- a/app/views/user_blocks/_navigation.html.erb +++ b/app/views/user_blocks/_navigation.html.erb @@ -34,11 +34,17 @@ :class => ["nav-link", { :active => action_name == "blocks_by" }] %> <% end %> - <% if @user_block %> + <% if @user_block&.persisted? %>