Skip to content

Commit

Permalink
Fix zeitwerk error in decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
laurajaime committed Nov 26, 2024
1 parent 829a05b commit 7a34598
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# This decorator override +metadata_valued_items+ to render two non string custom fields.
module Decidim::ContentBlocks::ParticipatorySpaceMetadataCellDecorator
module Cells::Decidim::ContentBlocks::ParticipatorySpaceMetadataCellDecorator
def self.decorate
Decidim::ContentBlocks::ParticipatorySpaceMetadataCell.class_eval do
private
Expand Down Expand Up @@ -32,4 +32,4 @@ def metadata_valued_items
end
end

::Decidim::ContentBlocks::ParticipatorySpaceMetadataCellDecorator.decorate
::Cells::Decidim::ContentBlocks::ParticipatorySpaceMetadataCellDecorator.decorate

0 comments on commit 7a34598

Please sign in to comment.