Skip to content
Snippets Groups Projects
Commit 2a14f621 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 52148742
No related merge requests found
......@@ -5,13 +5,12 @@
<% websites = current_user.favorites.websites.collect(&:about) %>
<%= render 'admin/communication/websites/list', websites: websites %>
<% other = current_user.favorites.except_websites %>
<% if other.any? %>
<div class="row">
<% current_user.favorites.except_websites.each do |favorite| %>
<% about = favorite.about %>
<% next unless can?(:read, about) %>
<div class="col-md-6 col-xl-3 d-flex">
<div class="col-md-6 col-lg-3 d-flex">
<%= osuny_panel about do %>
<p class="small mt-n2 mb-1"><%= about.class.model_name.human %></p>
<%= link_to t('show'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment