lib/hancock/plugin_configuration.rb in hancock_cms-1.0.2.3 vs lib/hancock/plugin_configuration.rb in hancock_cms-2.0.0
- old
+ new
@@ -3,10 +3,10 @@
module ClassMethods
def configuration
@configuration ||= config_class.new if config_class
end
def config
- configuration
+ @configuration ||= config_class.new if config_class
end
def configure
yield configuration
end