1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/static_controller.rb
2014-09-11 17:40:37 -05:00

8 lines
231 B
Ruby

class StaticController < ApplicationController
def donate
# TODO: scope by campaign?
@campaign = Campaign.current
@donations = @campaign.donations.includes(features: :outfit).
order('created_at DESC')
end
end