Merge branch 'master' into 8286-fav-projects
[arvados.git] / apps / workbench / app / views / application / _show_star.html.erb
index 50775f140e0459ee5be19807ca7006e29369a496..25ed27529f903df628f3167f036f3201791cb7b5 100644 (file)
@@ -1,4 +1,4 @@
-<% if is_starred %>
+<% if current_user and is_starred %>
   <%= link_to(star_path(status: 'delete', id:@object.uuid, action_method: 'get'), class: "btn btn-xs star-unstar", title: "Remove from list of favorites", remote: true) do  %>
             <i class="fa fa-fw fa-star"></i>
           <% end %>