X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/55aafbb07904ca24390dd47ea960eae7cb2b909a..f4750d53482ddb3990426563bb424f72790b9090:/apps/workbench/app/views/application/_breadcrumbs.html.erb diff --git a/apps/workbench/app/views/application/_breadcrumbs.html.erb b/apps/workbench/app/views/application/_breadcrumbs.html.erb index fb4a1462a1..c3c2e07da7 100644 --- a/apps/workbench/app/views/application/_breadcrumbs.html.erb +++ b/apps/workbench/app/views/application/_breadcrumbs.html.erb @@ -31,7 +31,7 @@ SPDX-License-Identifier: AGPL-3.0 %> Search all projects ... <% end %> - <% if Rails.configuration.anonymous_user_token and Rails.configuration.enable_public_projects_page %> + <% if !Rails.configuration.Users.AnonymousUserToken.empty? and Rails.configuration.Workbench.EnablePublicProjectsPage %>
  • Browse public projects
  • <% end %> @@ -51,7 +51,7 @@ SPDX-License-Identifier: AGPL-3.0 %> } %> - <% if @name_link or @object %> + <% if (defined?(@name_link) && @name_link) or (defined?(@object) && @object) %>