Merge pull request #7499 from betagouv/US/fix-rails-ujs
fix(Rails.ujs): missing Rails.start
This commit is contained in:
commit
48101d02e3
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ const DS = {
|
|||
|
||||
// Start Rails helpers
|
||||
ActiveStorage.start();
|
||||
if (!window._rails_loaded) {
|
||||
Rails.start();
|
||||
}
|
||||
Turbo.session.drive = false;
|
||||
|
||||
// Expose globals
|
||||
|
|
Loading…
Reference in a new issue