chore: Add a feature toggle for account seeding (#5369)

This commit is contained in:
Sojan Jose 2022-09-01 17:19:15 +05:30 committed by GitHub
parent c09b10a710
commit 4a74ab59d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
<% if !Rails.env.production? %> <% if !Rails.env.production? || ENV.fetch('ENABLE_ACCOUNT_SEEDING', nil) %>
<section class="main-content__body"> <section class="main-content__body">
<hr/> <hr/>
<%= form_for([:seed, namespace, page.resource], method: :post, html: { class: "form" }) do |f| %> <%= form_for([:seed, namespace, page.resource], method: :post, html: { class: "form" }) do |f| %>