1
0
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:
cyril 2016-06-16 17:37:56 +02:00
parent ba4115a1da
commit c94121fda0

View File

@ -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