mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 03:09:43 +00:00
plugins need paths too
This commit is contained in:
parent
aa26f9b2ad
commit
6d5e20fe4a
@ -128,7 +128,7 @@ class Plugin::Instance
|
||||
# this allows us to present information about a plugin in the UI
|
||||
# prior to activations
|
||||
def activate!
|
||||
self.instance_eval File.read(path)
|
||||
self.instance_eval File.read(path), path
|
||||
if auto_assets = generate_automatic_assets!
|
||||
assets.concat auto_assets
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user