mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
fix plugin_registry method
This commit is contained in:
parent
ba4115a1da
commit
c94121fda0
@ -50,9 +50,9 @@ class PluginRegistry
|
||||
# elsif asset =~ /\.js\.handlebars$/
|
||||
# self.handlebars << asset
|
||||
end
|
||||
end
|
||||
|
||||
def self.insert_code(key)
|
||||
self.code_insertions[key].join('\n')
|
||||
end
|
||||
def self.insert_code(key)
|
||||
self.code_insertions[key]&.join('\n')
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user