0.28 reconfigure whole plugin to more advanced layout
This commit is contained in:
13
lib/discourse_legacy_links/engine.rb
Normal file
13
lib/discourse_legacy_links/engine.rb
Normal file
@ -0,0 +1,13 @@
|
||||
# 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
|
Reference in New Issue
Block a user