lib/avo/base_action.rb in avo-2.18.0 vs lib/avo/base_action.rb in avo-2.18.1.pre.1.eagerloaddirs

- old
+ new

@@ -32,12 +32,12 @@ delegate :context, to: ::Avo::App def form_data_attributes # We can't respond with a file download from Turbo se we disable it on the form if may_download_file - {turbo: false, remote: false} + {turbo: false, remote: false, action_target: :form} else - {"turbo-frame": "_top", "action-target": "form"} + {turbo_frame: :_top, action_target: :form} end end # We can't respond with a file download from Turbo se we disable close the modal manually after a while (it's a hack, we know) def submit_button_data_attributes