Sha256: c6e78c1b12bd8fc55fe4fe8deb83c6c94169486af700caed1273a179ef9e7859

Contents?: true

Size: 988 Bytes

Versions: 10

Compression:

Stored size: 988 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|
    end

    admin.group :users do |g|
      g.resource :users
    end  
  end

  # =============
  # = Linkables =
  # =============

  config.linkables = %w(pages)
  
  # =========
  # = Menus =
  # =========
  
  config.menu(:main)
  config.menu(:social)
  
  # ============
  # = 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

10 entries across 10 versions & 1 rubygems

Version Path
fullstack-cms-0.2.32.fix lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.31 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.30 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.29 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.28 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.27 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.26 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.25 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.24 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.23 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb