1
0
Fork 0

Sort cards by updated_at in admin

This commit is contained in:
Andrew Tomaka 2015-11-04 11:44:43 -05:00
parent 9505e08b28
commit 70f410baa5

View file

@ -3,7 +3,7 @@ class Admin::CardsController < Admin::BaseController
after_action :verify_authorized
def index
@cards = Card.includes(:character).all
@cards = Card.includes(:character).all.order(updated_at: :desc)
authorize Card
end