adding /files to the list of uris the api version checker will check
Show replies by date
---
configserver/src/lib/application_helper.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configserver/src/lib/application_helper.rb
b/configserver/src/lib/application_helper.rb
index 07f1942..615f823 100644
--- a/configserver/src/lib/application_helper.rb
+++ b/configserver/src/lib/application_helper.rb
@@ -39,7 +39,7 @@ module ApplicationHelper
def api_version_valid?(request, version)
root_path = request.path[0, (request.path.index('/', 1) + 1)]
- if ["/params/", "/configs/"].include? root_path
+ if ["/params/", "/configs/", "/files/"].include?
root_path
return api_version == version.to_s
end
return true
--
1.7.7.4