diff --git a/Gemfile b/Gemfile index 19ebae43..9ba7f175 100644 --- a/Gemfile +++ b/Gemfile @@ -54,8 +54,8 @@ group :development do # Makes spring watch files using the listen gem. (https://github.com/jonleighton/spring-watcher-listen) gem 'spring-watcher-listen', '~> 2.0.0' - # Brings Rails named routes to javascript (http://github.com/railsware/js-routes) - gem 'js-routes', require: false + # Brings Rails named routes to modern javascript (https://github.com/elmassimo/js_from_routes) + gem 'js_from_routes' end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index a6b457ae..603dc190 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -108,8 +108,8 @@ GEM rails (>= 5) jbuilder (2.11.1) activesupport (>= 5.0.0) - js-routes (1.4.14) - railties (>= 4) + js_from_routes (1.0.1) + railties listen (3.4.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -267,7 +267,7 @@ DEPENDENCIES image_processing (~> 1.10) inertia_rails (>= 1.2.2) jbuilder (~> 2.7) - js-routes + js_from_routes listen (~> 3.3) oj pagy diff --git a/app/javascript/Layouts/Main.vue b/app/javascript/Layouts/Main.vue index d7f718b7..efe8ae35 100644 --- a/app/javascript/Layouts/Main.vue +++ b/app/javascript/Layouts/Main.vue @@ -8,7 +8,7 @@