Description
Thanks for the work on this project and also the latest big release of 6.2.0 🙏🏻
When upgrading to 6.2.0 (same issue also exist with 6.2.3) I discovered a bug when using haml with the latest rails version that when there are two layout files e.g. application.js.erb
and application.html.haml
and are doing a request with the header Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
it will respond with the contents of the application.html.haml
instead of the application.js.erb
. We are using this logic pre-turbo to render modals.
I wonder if this is supposed to work. I was also having a look at #1146 but understanding the implications was difficult to me.
If you need more information, I could also setup a small demo rails app later.
Thanks for all your help!