lib/octopress-ink.rb in octopress-ink-1.0.0.rc.64 vs lib/octopress-ink.rb in octopress-ink-1.0.0
- old
+ new
@@ -72,9 +72,10 @@
# Register a new plugin
#
# plugin - A subclass of Plugin
#
def register_plugin(plugin, options={})
+ options['type'] ||= 'plugin'
Plugins.register_plugin(plugin, options)
end
def register_theme(plugin, options={})
options['type'] = 'theme'