Skip to content

Commit

Permalink
Trie les annonces par dates
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Oct 7, 2024
1 parent 7a1b392 commit 3d95a8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/admin/annonce_generales.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
ActiveAdmin.register AnnonceGenerale do
menu parent: 'Accompagnement'

config.sort_order = 'created_at_desc'

permit_params :texte, :afficher

index do
Expand Down

0 comments on commit 3d95a8d

Please sign in to comment.