# File app/controllers/works_controller.rb, line 17 def list @period = params[:id] && Period.find(params[:id]) @work_pages, @works = paginate :works, :per_page => 20 end