/demo is not accessible on Env production
This commit is contained in:
parent
c2983e08b6
commit
2c499d5c82
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ class DemoController < ApplicationController
|
|||
helper SmartListing::Helper
|
||||
|
||||
def index
|
||||
return root_path if Rails.env.production?
|
||||
|
||||
smart_listing_create :procedures,
|
||||
Procedure.where(archived: false),
|
||||
partial: "demo/list",
|
||||
|
|
Loading…
Reference in a new issue