discourse-legacy_links/lib/discourse_legacy_links/engine.rb

14 lines
464 B
Ruby
Raw Normal View History

# plugins/discourse_legacy_links/lib/discourse_legacy_links/engine.rb
module DiscourseLegacyLinks
class Engine < ::Rails::Engine
engine_name 'discourse_legacy_links'
isolate_namespace DiscourseLegacyLinks
# Optional: Load additional files or initializers
initializer "discourse_legacy_links.load_app_instance_data" do |app|
# Example: Add custom middleware or configure settings
# app.middleware.use SomeMiddleware
end
end
end