1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/contributions_controller.rb
2010-11-06 11:52:58 -04:00

7 lines
239 B
Ruby

class ContributionsController < ApplicationController
def index
@contributions = Contribution.recent.paginate :page => params[:page],
:include => :user
Contribution.preload_contributeds_and_parents @contributions
end
end