diff --git a/app/javascript/application.js b/app/javascript/application.js index 00cdc4a..f624bfa 100644 --- a/app/javascript/application.js +++ b/app/javascript/application.js @@ -3,4 +3,4 @@ //= require popper //= require bootstrap import "@hotwired/turbo-rails" -import "./controllers" +import "controllers" diff --git a/app/javascript/controllers/index.js b/app/javascript/controllers/index.js index 4d75af8..e99e38b 100644 --- a/app/javascript/controllers/index.js +++ b/app/javascript/controllers/index.js @@ -2,7 +2,7 @@ // Run that command whenever you add a new controller or create them with // ./bin/rails generate stimulus controllerName -import { application } from './application' +import { application } from 'controllers/application' import ArtistsSongsController from './artists_songs_controller' import MetronomeController from './metronome_controller'