Skip to content
Snippets Groups Projects
Commit 311fb0ed authored by pabois's avatar pabois
Browse files

Merge branch 'master' of github.com:noesya/osuny

parents 91a58d3c eee477bb
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ class Communication::Website::Category < ApplicationRecord
include WithGit
include WithFeaturedImage
include WithBlobs
include WithBlocks
include WithMenuItemTarget
include WithSlug # We override slug_unavailable? method
include WithTree
......
......@@ -12,6 +12,7 @@
<%= sanitize @category.text %>
</div>
</div>
<%= render 'admin/communication/blocks/list', about: @category %>
</div>
<div class="col-md-4">
<div class="card flex-fill w-100">
......
......@@ -10,4 +10,5 @@ description: >
<%= prepare_text_for_static @about.description %>
description_short: >
<%= prepare_text_for_static @about.text %>
<%= render 'admin/communication/blocks/static', about: @about %>
---
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