mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 22:38:51 +08:00
14 lines
355 B
Ruby
14 lines
355 B
Ruby
# frozen_string_literal: true
|
|
|
|
module DiscourseRssPolling
|
|
class Engine < ::Rails::Engine
|
|
engine_name PLUGIN_NAME
|
|
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
|