From bd931acd24e5bee37e02e57cd70207d284fbc295 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Mon, 5 Aug 2013 22:03:03 +0400 Subject: [PATCH] #251: configure JsRoutes --- config/initializers/jsroutes.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config/initializers/jsroutes.rb 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