Sha256: 49731cac91f8c8a020b174231bf40a7d670dc892b8e1e94fa4e2015878a18dd9

Contents?: true

Size: 1.22 KB

Versions: 35

Compression:

Stored size: 1.22 KB

Contents

Fullstack::Cms.configure do |config|
  
  # =============
  # = Resources =
  # =============
  
  config.resources do |admin|
    # admin.group :website do |g|
      # g.icon= "globe"
      # g.resource :texts
    # end

    # admin.group :blog do |g|
      # g.icon= "book"
      # g.resource :posts
    # end

    # admin.group :contacts do |g|
      # g.icon= "user"
      # g.resource :contacts
    # end
    
    admin.group :settings do |g|
      g.icon= "wrench"
      g.resource :pages
      g.resource :menus
      g.resource :settings
    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(:keywords)

  config.setting(:address,            :kind => :text,  :group => :contacts)
  config.setting(:phone,              :group => :contacts)
  config.setting(:email,              :group => :contacts)
  config.setting(:notifies_recipient, :group => :contacts)
  
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
fullstack-cms-0.4.6 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.4.5 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.4.4 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.4.3 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.4.2 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.4.1 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.39 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.38 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.37 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.36 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.35 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.34 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.33 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.32 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.31 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.30 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.29 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.28 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.27 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb
fullstack-cms-0.3.26 lib/generators/fullstack/cms/templates/rails/config/initializers/fullstack.rb