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
This commit is contained in:
parent
babc6a1528
commit
b11fdc3ae3
20 changed files with 188 additions and 34 deletions
|
@ -58,6 +58,7 @@ Rails.application.routes.draw do
|
|||
namespace :admin do
|
||||
resources :pubsubhubbub, only: [:index]
|
||||
resources :domain_blocks, only: [:index, :create]
|
||||
resources :settings, only: [:index, :update]
|
||||
|
||||
resources :accounts, only: [:index, :show, :update] do
|
||||
member do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue