noesya/osuny

View on GitHub
app/views/admin/communication/websites/static.html.erb

Summary

Maintainability
Test Coverage
default:
<% if @website.default_image.attached? %>
  image:
    id: <%= @website.default_image.blob&.id %>
<% end %>
<% if @website.default_shared_image.attached? %>
  shared_image:
    id: <%= @website.default_shared_image.blob&.id %>
<% end %>