Sha256: a3c19982109b44c0025e6e12aa8de90f713a66b3cd52a9a3425ae98e4c33bc57
Contents?: true
Size: 1020 Bytes
Versions: 14
Compression:
Stored size: 1020 Bytes
Contents
Fullstack::Cms.configure do |config| # ============= # = Resources = # ============= config.resources do |admin| admin.group :website do |g| g.resource :pages g.resource :menus g.resource :settings end admin.group :contents do |g| g.resource :texts g.resource :prices end admin.group :users do |g| g.resource :users end end # ============= # = Linkables = # ============= config.linkables = %w(pages texts) # ========= # = Menus = # ========= config.menu(:main) # ============ # = Settings = # ============ config.setting(:google_analytics_code, :localized => false) config.setting(:facebook_app_id, :localized => false) config.setting(:title) config.setting(:slogan) config.setting(:description, :kind => :text) config.setting(:address, :kind => :text, :group => :contacts) config.setting(:phone, :group => :contacts) config.setting(:email, :group => :contacts) end
Version data entries
14 entries across 14 versions & 1 rubygems