Sha256: 7ad1f9c3339351ba341de9a3a4b2e69441afabdbda76edfd4d23e10a681176fb

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
theblog-0.0.1.1 app/controllers/theblog/admin/posts_controller.rb