diff options
Diffstat (limited to 'lib/api/helpers/common_helpers.rb')
-rw-r--r-- | lib/api/helpers/common_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/common_helpers.rb b/lib/api/helpers/common_helpers.rb index 855648f2ef0..265e9ffcdbd 100644 --- a/lib/api/helpers/common_helpers.rb +++ b/lib/api/helpers/common_helpers.rb @@ -27,7 +27,7 @@ module API options[:route_options][:params].map do |key, val| param_type = val[:type] # Search for parameters with Array types (e.g. "[String]", "[Integer]", etc.) - if param_type =~ %r(\[\w*\]) + if param_type =~ %r{\[\w*\]} key end end.compact.to_set |