mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-07 14:36:07 +08:00
14 lines
367 B
Ruby
14 lines
367 B
Ruby
# frozen_string_literal: true
|
|
|
|
module DiscourseRssPolling
|
|
class Engine < ::Rails::Engine
|
|
engine_name "discourse_rss_polling"
|
|
isolate_namespace DiscourseRssPolling
|
|
|
|
config.to_prepare do
|
|
Dir[
|
|
File.expand_path(File.join("..", "..", "..", "app", "jobs", "**", "*.rb"), __FILE__)
|
|
].each { |job| require_dependency job }
|
|
end
|
|
end
|
|
end
|