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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user