Created
May 24, 2017 07:27
-
-
Save SeanJManning/f0ceea603fd3cc360573eee98d5c1b40 to your computer and use it in GitHub Desktop.
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
class RefreshTopicsJob < ActiveJob::Base | |
queue_as :default | |
def perform(*args) | |
system "rake twoplustwo:topics" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment