X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/23a4adaa91d37d9264576d148b834e744729530f..e7fb89c8d016d01accb8714c138ba1ff89e5dce8:/app/views/user_blocks/_navigation.html.erb?ds=inline 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? %>