Sha256: 88b3cf11f7487c4e93f3b516ec5c96889db67a6525bac07a6a786d777f134f66
Contents?: true
Size: 600 Bytes
Versions: 3
Compression:
Stored size: 600 Bytes
Contents
require 'rubygems' require 'rails' require 'comfortable_mexican_sofa' require 'comfy_blog' module ComfyBlog module CmsSiteExtensions extend ActiveSupport::Concern included do has_many :blog_posts, class_name: 'Blog::Post', dependent: :destroy end end class Engine < ::Rails::Engine initializer 'comfy_blog.configuration' do |app| ComfortableMexicanSofa::ViewHooks.add(:navigation, '/comfy/admin/blog/partials/navigation') config.to_prepare do Comfy::Cms::Site.send :include, ComfyBlog::CmsSiteExtensions end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
comfy_blog-2.0.2 | lib/comfy_blog/engine.rb |
comfy_blog-2.0.1 | lib/comfy_blog/engine.rb |
comfy_blog-2.0.0 | lib/comfy_blog/engine.rb |