mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
REFACTOR: Support bundling our admin
section as an ember addon
This commit is contained in:
@ -161,7 +161,7 @@ JS
|
||||
end
|
||||
|
||||
# We need to strip the app subdirectory to replicate how ember-cli works.
|
||||
path || logical_path&.gsub('app/', '')&.gsub('addon/', '')
|
||||
path || logical_path&.gsub('app/', '')&.gsub('addon/', '')&.gsub('admin/addon', 'admin')
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user