group order switch menu use show view

This commit is contained in:
Philipp Rothmann 2023-02-22 14:30:23 +01:00
parent c3761095e7
commit dd7beab9bd

View file

@ -7,4 +7,4 @@
data-toggle='tooltip'
data-placement='bottom'
title='#{ order.ends ? t('.remaining', remaining: time_ago_in_words(order.ends)) : "" }')
= link_to_ordering(order, 'data-confirm_switch_order' => true)
= link_to_ordering(order, show: true, 'data-confirm_switch_order' => true)