14 lines
464 B
Ruby
14 lines
464 B
Ruby
|
# 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
|