|
- json.total_count params[:is_full].present? ? @teams.count : @teams.total_count
- json.teams @teams do |team|
- if params[:is_full].present?
- json.partial! "simple_detail", team: team, organization: @organization
- else
- json.partial! "detail", team: team, organization: @organization
- end
- end
|