2010-11-05 15:55:27 -07:00
|
|
|
class StaticController < ApplicationController
|
2014-09-10 13:38:26 -07:00
|
|
|
def donate
|
|
|
|
# TODO: scope by campaign?
|
2014-09-11 15:40:37 -07:00
|
|
|
@campaign = Campaign.current
|
|
|
|
@donations = @campaign.donations.includes(features: :outfit).
|
|
|
|
order('created_at DESC')
|
2014-09-10 13:38:26 -07:00
|
|
|
end
|
2010-11-05 15:55:27 -07:00
|
|
|
end
|