about summary refs log tree commit diff
path: root/app/lib/settings/extend.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/settings/extend.rb')
-rw-r--r--app/lib/settings/extend.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/lib/settings/extend.rb b/app/lib/settings/extend.rb
new file mode 100644
index 000000000..7241a1221
--- /dev/null
+++ b/app/lib/settings/extend.rb
@@ -0,0 +1,9 @@
+module Settings
+  module Extend
+  	extend ActiveSupport::Concern
+
+    def settings
+      ScopedSettings.for_thing(self)
+    end
+  end
+end
\ No newline at end of file