mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 06:21:41 +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
|
# Ver un listado de sitios
|
||||||
def index
|
def index
|
||||||
authorize Site
|
authorize Site
|
||||||
@sites = current_usuarie.sites.order(:title)
|
@sites = current_usuarie.sites.order(updated_at: :desc)
|
||||||
|
|
||||||
fresh_when @sites
|
fresh_when @sites
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue