mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
parent
9961163e82
commit
1df9186526
@ -735,6 +735,9 @@ class Plugin::Instance
|
||||
|
||||
seed_data.each { |key, value| DiscoursePluginRegistry.register_seed_data(key, value) }
|
||||
|
||||
# Allow plugins to `register_asset` for images under /assets
|
||||
Rails.configuration.assets.paths << File.dirname(path) + "/assets"
|
||||
|
||||
# Automatically include rake tasks
|
||||
Rake.add_rakelib(File.dirname(path) + "/lib/tasks")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user