templates/help/html/action_input.erb in haveapi-fs-0.1.0 vs templates/help/html/action_input.erb in haveapi-fs-0.7.0
- old
+ new
@@ -12,10 +12,10 @@
<th>Data type</th>
<th>Validators</th>
<th>Default value</th>
<th>Description</th>
</tr>
- <% @c.action_dir.action.input_params.each do |name, desc| %>
+ <% @c.parameters.each do |name, desc| %>
<tr>
<td><%= name %></td>
<td><%= desc[:label] %></td>
<td><%= desc[:required] ? 'yes' : 'no' %></td>
<td><%= desc[:type] %></td>