<% if Georgia::MediaPolicy.new(current_user, Ckeditor::Asset).search? %> <%= sidebar_navigation_link 'Media', georgia.media_index_path, controller: 'media', icon: 'picture-o' %> <% end -%>