Sha256: 9a4efdb7cd02b888f1deb3a694f367c2b2f106f043b6559a8b120671865dbeaa

Contents?: true

Size: 931 Bytes

Versions: 15

Compression:

Stored size: 931 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(: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

15 entries across 15 versions & 1 rubygems

Version Path
fullstack-cms-0.3.8.fix lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.10 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.9 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.8 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.7 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.6 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.5 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.4 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.3 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.2 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.3.1 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.36 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.35 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.34 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb
fullstack-cms-0.2.33 lib/generators/fullstack/cms/templates/rails/config/fullstack.rb