houdini/app/views/campaigns/index.jbuilder

7 lines
269 B
Text
Raw Normal View History

2020-05-21 22:22:22 +00:00
# frozen_string_literal: true
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
json.data @campaigns do |campaign|
json.extract! campaign, :name, :total_raised, :goal_amount, :id
json.url campaign_locateable_url(campaign)
end