mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
plugins need paths too
This commit is contained in:
parent
aa26f9b2ad
commit
6d5e20fe4a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue