An ActionView::MissingTemplate occurred in passwords#create:
Missing template users/passwords/create, users/passwords/create, devise/passwords/create, devise/create, application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder, :haml]}. Searched in:
* "/var/www/violet/releases/20220619182518/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/gems/ember-cli-rails-0.10.0/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/gems/graphiql-rails-1.8.0/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/gems/devise_invitable-2.0.3/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/bundler/gems/simple_discussion-ccc76a485221/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/bundler/gems/comfy-blog-767f3848165a/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/bundler/gems/comfortable-mexican-sofa-456fb8507e96/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/gems/devise-4.7.3/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/gems/actiontext-6.1.5/app/views"
* "/var/www/violet/shared/bundle/ruby/2.6.0/gems/actionmailbox-6.1.5/app/views"
I have narrowed the issue down to this line.
https://github.com/heartcombo/devise/blob/f8d1ea90bc328012f178b8a6616a89b73f2546a4/lib/devise/controllers/helpers.rb#L264
The request format is ':turbo_stream' instead of ':html' after we upgraded to Turbo from Turbolinks. Devise doesn't recognize turbo_stream as navigational format yet.
There's an open PR on devise which will add turbo_stream as navigational format: https://github.com/heartcombo/devise/pull/5340
Before
After
Add 'turbo_stream' to list of navigational_formats on devise config.
https://github.com/restarone/violet_rails/pull/787