Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings

with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
Tento commit je obsažen v:
Eugen Rochko
2017-01-12 20:46:24 +01:00
rodič babc6a1528
revize b11fdc3ae3
20 změnil soubory, kde provedl 188 přidání a 34 odebrání

Zobrazit soubor

@ -14,4 +14,8 @@ module SettingsHelper
def human_locale(locale)
HUMAN_LOCALES[locale]
end
def hash_to_object(hash)
HashObject.new(hash)
end
end