Method: Coco::Modal#render_as_modal?
- Defined in:
- app/components/coco/modals/modal/modal.rb
#render_as_modal? ⇒ Boolean
42 43 44 |
# File 'app/components/coco/modals/modal/modal.rb', line 42 def render_as_modal? request.headers["Turbo-Frame"].present? || show end |