diff --git a/config/initializers/jsroutes.rb b/config/initializers/jsroutes.rb new file mode 100644 index 000000000..0394aae60 --- /dev/null +++ b/config/initializers/jsroutes.rb @@ -0,0 +1,3 @@ +JsRoutes.setup do |config| + config.exclude = [/token/, /admin/, /api/, /key/] +end \ No newline at end of file