5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 05:21:42 +00:00

Merge branch 'issue-12762' into 'rails'

feat: ordenar los sitios por actividad #12762

See merge request sutty/sutty!131
This commit is contained in:
fauno 2023-04-10 15:48:57 +00:00
commit 1555cdd644

View file

@ -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