Skip to content

Commit 3ff533b

Browse files
committed
Update _metadata.html.erb
1 parent 1949fd2 commit 3ff533b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/names/_metadata.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</li>
7373
<% end %>
7474

75-
<% if @name.public? %>
75+
<% if @name.public? && user_signed_in? %>
7676
<li>
7777
<%= link_to(@name.wikispecies_url, target: '_blank') do %>
7878
Wikispecies: <%= @name.base_name %>

0 commit comments

Comments
 (0)