about summary refs log tree commit diff
path: root/app/lib/settings
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-13 03:24:41 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-13 03:24:41 +0100
commite25170f960bdc890e4f8a6b1373ab55192669629 (patch)
tree6a08f8020ede5457a276d99a6c146354eed4db60 /app/lib/settings
parent2939e9898b1e0e7da6db802a00e594be4c85499d (diff)
Add extended about page stub
Diffstat (limited to 'app/lib/settings')
-rw-r--r--app/lib/settings/extend.rb6
-rw-r--r--app/lib/settings/scoped_settings.rb4
2 files changed, 7 insertions, 3 deletions
diff --git a/app/lib/settings/extend.rb b/app/lib/settings/extend.rb
index 7241a1221..407c3480f 100644
--- a/app/lib/settings/extend.rb
+++ b/app/lib/settings/extend.rb
@@ -1,9 +1,11 @@
+# frozen_string_literal: true
+
 module Settings
   module Extend
-  	extend ActiveSupport::Concern
+    extend ActiveSupport::Concern
 
     def settings
       ScopedSettings.for_thing(self)
     end
   end
-end
\ No newline at end of file
+end
diff --git a/app/lib/settings/scoped_settings.rb b/app/lib/settings/scoped_settings.rb
index f8f22a91b..82b70d128 100644
--- a/app/lib/settings/scoped_settings.rb
+++ b/app/lib/settings/scoped_settings.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 module Settings
   class ScopedSettings < ::Setting
     def self.for_thing(object)
@@ -9,4 +11,4 @@ module Settings
       unscoped.where(thing_type: @object.class.base_class.to_s, thing_id: @object.id)
     end
   end
-end
\ No newline at end of file
+end