don't load test and admin users in staging

This commit is contained in:
Taylor Griffin
2015-01-12 07:48:48 +11:00
parent 10ae117914
commit 4efb93ea45

View File

@@ -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