forked from OpenNeo/impress
7 lines
239 B
Ruby
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
|