Update profile image for orgs in seeds (#16666)
This commit is contained in:
parent
e1bce8c398
commit
d4ec02bf6d
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ seeder.create_if_none(Organization) do
|
|||
Organization.create!(
|
||||
name: Faker::TvShows::SiliconValley.company,
|
||||
summary: Faker::Company.bs,
|
||||
remote_profile_image_url: logo = Faker::Company.logo,
|
||||
profile_image: logo = File.open(Rails.root.join("app/assets/images/#{rand(1..40)}.png")),
|
||||
nav_image: logo,
|
||||
url: Faker::Internet.url,
|
||||
slug: "org#{rand(10_000)}",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue