app/controllers/apicasso/apidocs_controller.rb in apicasso-0.1.1 vs app/controllers/apicasso/apidocs_controller.rb in apicasso-0.1.2

- old
+ new

@@ -311,10 +311,10 @@ end end end end - model.reflect_on_all_associations.map(&:name) do |association| + model.reflect_on_all_associations.map(&:name).each do |association| inner_name = extract_klass_name(model: model, association: association) inner_klass = extract_klass(model: model, association: association) swagger_path "/#{model.name.underscore}/{id}/#{association}" do operation :get do key :summary, I18n.t("activerecord.models.#{inner_name.underscore}.index.summary", default: inner_name) \ No newline at end of file