Sha256: 7868bf31b86ce52f52f37da1cd4ed7eda3f375dc8175d63b224b69dac8d92aab

Contents?: true

Size: 326 Bytes

Versions: 84

Compression:

Stored size: 326 Bytes

Contents

module Content
  extend ActiveSupport::Concern
  
  included do
    validates_presence_of :title
                              
    acts_as_taggable
    alias :keywords :tags
    permalink :title, :history => true
  
    field :title
    field :excerpt, :as => :text
    alias_attribute :description, :excerpt    
  end
  
end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
fullstack-cms-0.4.6 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.4.5 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.4.4 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.8.fix lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.2.32.fix lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.4.3 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.4.2 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.4.1 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.39 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.38 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.37 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.36 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.35 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.34 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.33 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.32 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.31 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.30 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.29 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb
fullstack-cms-0.3.28 lib/generators/fullstack/cms/templates/rails/lib/support/content.rb