mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-07 14:57:48 +00:00
Order my_tournaments by updated_at
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
class StaticPagesController < ApplicationController
|
class StaticPagesController < ApplicationController
|
||||||
|
|
||||||
def my_tournaments
|
def my_tournaments
|
||||||
@tournaments = current_user.tournaments
|
@tournaments = current_user.tournaments.order('updated_at desc')
|
||||||
end
|
end
|
||||||
|
|
||||||
def not_allowed
|
def not_allowed
|
||||||
|
|||||||
Reference in New Issue
Block a user