lib/octopress-ink.rb in octopress-ink-1.1.0 vs lib/octopress-ink.rb in octopress-ink-1.1.1

- old
+ new

@@ -72,15 +72,15 @@ # Register a new plugin # # plugin - A subclass of Plugin # def register_plugin(plugin, options={}) - options['type'] ||= 'plugin' + options[:type] ||= 'plugin' Plugins.register_plugin(plugin, options) end def register_theme(plugin, options={}) - options['type'] = 'theme' + options[:type] = 'theme' Plugins.register_plugin(plugin, options) end # Create a new plugin from a configuration hash #