impress/app/controllers/static_controller.rb

8 lines
200 B
Ruby
Raw Normal View History

2010-11-05 15:55:27 -07:00
class StaticController < ApplicationController
2014-09-10 13:38:26 -07:00
def donate
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