mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 13:38:24 -04:00
don't load test and admin users in staging
This commit is contained in:
@@ -11,13 +11,13 @@ def load_data
|
||||
create_cropbot
|
||||
load_crops
|
||||
load_plant_parts
|
||||
load_paid_account_types
|
||||
load_products
|
||||
|
||||
# for development and staging environments only
|
||||
if Rails.env.development? || Rails.env.staging?
|
||||
if Rails.env.development?
|
||||
load_test_users
|
||||
load_admin_users
|
||||
load_paid_account_types
|
||||
load_products
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user