From 0651a96c59f69ca2f067462faec5f66866cb7aa7 Mon Sep 17 00:00:00 2001 From: Barry Hess Date: Tue, 4 Jan 2011 14:46:08 -0600 Subject: [PATCH] Order errors on app pages. --- app/controllers/apps_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/apps_controller.rb b/app/controllers/apps_controller.rb index 2b27d37..6e57753 100644 --- a/app/controllers/apps_controller.rb +++ b/app/controllers/apps_controller.rb @@ -8,7 +8,7 @@ class AppsController < ApplicationController end def show - @errs = @app.errs.paginate(:page => params[:page], :per_page => Err.per_page) + @errs = @app.errs.ordered.paginate(:page => params[:page], :per_page => Err.per_page) end def new -- libgit2 0.21.2