mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 07:01:42 +00:00
feat: ordenar los sitios por actividad #12762
This commit is contained in:
parent
3e6288fefe
commit
5d40fabe54
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class SitesController < ApplicationController
|
|||
# Ver un listado de sitios
|
||||
def index
|
||||
authorize Site
|
||||
@sites = current_usuarie.sites.order(:title)
|
||||
@sites = current_usuarie.sites.order(updated_at: :desc)
|
||||
|
||||
fresh_when @sites
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue