File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 1- module Cms
2- module Models
3- module Collections
4- class SiteWideBanner
5- attr_reader :text_content
6-
7- def initialize ( text_content :)
8- @text_content = text_content
9- end
10-
11- def render
12- Cms ::SiteWideBannerComponent . new ( text_content :)
13- end
14- end
15- end
16- end
17- end
Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ class BaseQuery
2626 Models ::Meta ::SimpleTitle => SimpleField ,
2727 Models ::Text ::RichHeader => SimpleField ,
2828 Models ::Text ::TextBlock => SimpleField ,
29- Models ::Text ::TextBlockWithoutWrapper => SimpleField ,
30- Models ::Collections ::SiteWideBanner => SiteWideBanner
29+ Models ::Text ::TextBlockWithoutWrapper => SimpleField
3130 } . freeze
3231
3332 def initialize ( collection_class , resource_filter = "slug" )
You can’t perform that action at this time.
0 commit comments