将竞赛中参赛作品列表按照时间顺序逆序排列(针对参赛应用)

This commit is contained in:
wanglinchun 2014-05-10 09:27:50 +08:00
parent ca38afff61
commit 2b44b1b893
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class ContestsController < ApplicationController
end
##取出参赛应用
@softapplication = Softapplication.all
@contesting_softapplication = @contest.contesting_softapplications
@contesting_softapplication = @contest.contesting_softapplications.reverse
@contesting_softapplication = paginateHelper @contesting_softapplication, 10