Add a sort order to the demo procedures list
This commit is contained in:
parent
5910d28a02
commit
458f557c93
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class DemoController < ApplicationController
|
|||
return redirect_to root_path if Rails.env.production?
|
||||
|
||||
smart_listing_create :procedures,
|
||||
Procedure.where(archived: false, published: true),
|
||||
Procedure.where(archived: false, published: true).order("id DESC"),
|
||||
partial: "demo/list",
|
||||
array: true
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue