From e3795981e316fdeecc453d59bc523e5c0d8238bc Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Sun, 21 Sep 2025 15:27:17 +0200 Subject: [PATCH] Update registratuion_controller.rb to handle turbo_stream format for iOS auth --- app/views/devise/registrations/new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index 1b0e0d85..bf654561 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -5,7 +5,7 @@

and take control over your location data.

- <%= form_for(resource, as: resource_name, url: registration_path(resource_name), class: 'form-body ') do |f| %> + <%= form_for(resource, as: resource_name, url: registration_path(resource_name), class: 'form-body', html: { data: { turbo: session[:dawarich_client] == 'ios' ? false : true } }) do |f| %>
<%= f.label :email, class: 'label' do %> Email