aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service/templates
diff options
context:
space:
mode:
Diffstat (limited to 'actionwebservice/lib/action_web_service/templates')
-rw-r--r--actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml b/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml
index 0516738da6..e62d234c1a 100644
--- a/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml
+++ b/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml
@@ -5,10 +5,10 @@
<%= hidden_field_tag "method", @scaffold_method.public_name %>
<% i = 0 %>
-<% @scaffold_method.expects.each do |spec| %>
+<% @scaffold_method.expects.each do |type| %>
<p>
- <label for="method_params[]"><%= @scaffold_method.param_name(spec, i).camelize %></label><br />
- <%= method_parameter_input_fields(@scaffold_method, spec, i) %>
+ <label for="method_params[]"><%= type.name.to_s.camelize %></label><br />
+ <%= method_parameter_input_fields(@scaffold_method, type) %>
</p>
<% i += 1 %>
<% end %>