Skip to content

Commit

Permalink
import Rails from UJS
Browse files Browse the repository at this point in the history
  • Loading branch information
wetterkrank committed Jan 6, 2025
1 parent bd1d025 commit 3fc0939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/comfy/admin/cms/sortable_list.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Sortable from "sortablejs";
import Rails from "@rails/ujs";

(() => {
const Rails = window.Rails;
const DATA_ID_ATTRIBUTE = "data-id";

const sortableStore = {
Expand Down

0 comments on commit 3fc0939

Please sign in to comment.