Module: Card::Set::Rule::HtmlViews::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod010-rules/rule/html_views.rb
Instance Method Summary collapse
Instance Method Details
#view: core ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'platypus/tmp/set/gem-defaults/mod010-rules/rule/html_views.rb', line 9 view :core do # Rule cards that are searches are usual right structures and refer to the left # in the search query. In that case the search doesn't work # properly in the context of the rule card itself. Hence we show the query syntax # and not the search result. if card.type_id == SearchTypeID render_raw else super() end end |