Sha256: 1e3d58efdf7ce8d801ea6d4c8019417d316a7fa077b49e9656bd3cc21b70daa5
Contents?: true
Size: 439 Bytes
Versions: 6
Compression:
Stored size: 439 Bytes
Contents
module Workarea module Search class Admin class ContentBlog < Search::Admin def type 'blog' end def status 'active' end def jump_to_text model.name end def jump_to_position 6 end def search_text ['blog', model.name, model.entries.map(&:name)].flatten.join(' ') end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems