1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Order my_tournaments by updated_at

This commit is contained in:
2015-12-23 15:33:27 +00:00
parent 23de8a5503
commit 49bcbfcc84

View File

@@ -1,7 +1,7 @@
class StaticPagesController < ApplicationController
def my_tournaments
@tournaments = current_user.tournaments
@tournaments = current_user.tournaments.order('updated_at desc')
end
def not_allowed