<%= render 'account/shared/menu/item', { url: main_app.polymorphic_path([:account, current_team, :memberships]), label: t('memberships.navigation.label'), } do |item| %> <% item.icon do %> <% end %> <% end %>