Rails: How to disable turbolinks in Rails 5?

后端 未结 5 1904
谎友^
谎友^ 2020-12-04 17:45

It\'s a constant headache when dealing with websockets, and it kills my performance in addition to adding bugs. Since ActionCable is the whole reason I upgraded I\'d very mu

5条回答
  •  北海茫月
    2020-12-04 18:05

    Removing //= require turbolinks from app/assets/javascripts/application.js seems to have done the trick.

    I also removed both turbolinks references in app/views/layouts/application.html.erb

提交回复
热议问题