Sha256: 426a146fe6089e7a760e4e89f979a45a45737c7495449cda6478da4ebca36ec2

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

module Theblog
  class Admin::PostsController < Admin::ItemsController
    MODEL = Theblog::Post
    ATTRIBUTES = [:title, :slug, :description, {body: :wysihtml5}, :tags]
    INDEX = [:title, :description, :body, {category: :title, link: true}, :content_status]
    ASSOCIATIONS = [:category]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
theblog-0.0.2.3 app/controllers/theblog/admin/posts_controller.rb
theblog-0.0.2.2 app/controllers/theblog/admin/posts_controller.rb
theblog-0.0.2.1 app/controllers/theblog/admin/posts_controller.rb