diff options
Diffstat (limited to 'actionwebservice/lib/action_web_service/api')
-rw-r--r-- | actionwebservice/lib/action_web_service/api/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/api/base.rb b/actionwebservice/lib/action_web_service/api/base.rb index c9fb9f967f..4548856d86 100644 --- a/actionwebservice/lib/action_web_service/api/base.rb +++ b/actionwebservice/lib/action_web_service/api/base.rb @@ -195,7 +195,7 @@ module ActionWebService # :nodoc: private def friendly_param(type, show_name=true) name = type.name.to_s - type_type = type.type.to_s + type_type = type.array?? type.element_type.type.to_s : type.type.to_s str = type.array?? (type_type + '[]') : type_type show_name ? (str + " " + name) : str end |