From fef6380721472d6b7fe23852f72f55c53247e2af Mon Sep 17 00:00:00 2001 From: Benjamin Neff <benjamin@coding4coffee.ch> Date: Sat, 6 Nov 2021 01:21:01 +0100 Subject: [PATCH] Bump js-routes --- Gemfile | 2 +- Gemfile.lock | 4 ++-- config/initializers/jsroutes.rb | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index d8bec271ae..d3ca509fb1 100644 --- a/Gemfile +++ b/Gemfile @@ -94,7 +94,7 @@ gem "entypo-rails", "3.0.0" gem "handlebars_assets", "0.23.9" gem "jquery-rails", "4.4.0" -gem "js-routes", "1.4.14" +gem "js-routes", "2.1.2" gem "js_image_paths", "0.1.1" source "https://gems.diasporafoundation.org" do diff --git a/Gemfile.lock b/Gemfile.lock index ba1b9c067d..413c70ca8b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -361,7 +361,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - js-routes (1.4.14) + js-routes (2.1.2) railties (>= 4) js_image_paths (0.1.1) rails (>= 4.0, < 6.0) @@ -837,7 +837,7 @@ DEPENDENCIES jasmine (= 3.10.0) jasmine-jquery-rails (= 2.0.3) jquery-rails (= 4.4.0) - js-routes (= 1.4.14) + js-routes (= 2.1.2) js_image_paths (= 0.1.1) json (= 2.3.0) json-schema (= 2.8.1) diff --git a/config/initializers/jsroutes.rb b/config/initializers/jsroutes.rb index e82bf7125a..8e6f5176f7 100644 --- a/config/initializers/jsroutes.rb +++ b/config/initializers/jsroutes.rb @@ -3,4 +3,6 @@ JsRoutes.setup do |config| config.camel_case = true config.compact = true + config.module_type = nil + config.namespace = "Routes" end -- GitLab