Last active
September 6, 2016 14:10
-
-
Save thescubageek/e262a187d2fa70b67f2aba468d869302 to your computer and use it in GitHub Desktop.
Reseeds websites missing website_templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## G5 Content Management System | |
Website.all.select { |web| web.website_template.blank? }.each do |web| | |
WebsiteSeederJob.perform_async(web.owner.id) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment