lib/spontaneous/plugins/site/instance.rb in spontaneous-0.1.0.alpha1 vs lib/spontaneous/plugins/site/instance.rb in spontaneous-0.2.0.alpha1
- old
+ new
@@ -1,9 +1,11 @@
# encoding: UTF-8
module Spontaneous::Plugins::Site
module Instance
+ extend ActiveSupport::Concern
+
module ClassMethods
extend Forwardable
@@instance = nil
@@ -15,8 +17,7 @@
@@instance
end
def_delegators :instance, :config, :database, :database=
end # ClassMethods
- end # Map
+ end # Instance
end
-