1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/contributions_controller.rb

8 lines
239 B
Ruby
Raw Normal View History

2010-11-06 08:52:58 -07:00
class ContributionsController < ApplicationController
def index
@contributions = Contribution.recent.paginate :page => params[:page],
:include => :user
Contribution.preload_contributeds_and_parents @contributions
end
end