Filter procedure on /demo page for staging
This commit is contained in:
parent
eb1e4fe7ce
commit
5c2902bda5
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),
|
||||
Procedure.where(archived: false, published: true),
|
||||
partial: "demo/list",
|
||||
array: true
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue