Commit 0651a96c59f69ca2f067462faec5f66866cb7aa7
Committed by
Nick Recobra
1 parent
b857e8ac
Exists in
master
and in
1 other branch
Order errors on app pages.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/apps_controller.rb
... | ... | @@ -8,7 +8,7 @@ class AppsController < ApplicationController |
8 | 8 | end |
9 | 9 | |
10 | 10 | def show |
11 | - @errs = @app.errs.paginate(:page => params[:page], :per_page => Err.per_page) | |
11 | + @errs = @app.errs.ordered.paginate(:page => params[:page], :per_page => Err.per_page) | |
12 | 12 | end |
13 | 13 | |
14 | 14 | def new | ... | ... |