mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 03:41: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:
commit
1555cdd644
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