Sha256: 44d99bc977e688966e8112e33d8ce2fd4c29c6217fa559e6fb53f849a75170d1
Contents?: true
Size: 616 Bytes
Versions: 6
Compression:
Stored size: 616 Bytes
Contents
require 'comfy_blog' require 'rails' module ComfyBlog class Engine < Rails::Engine initializer 'comfy_blog.configuration' do |app| if defined?(ComfortableMexicanSofa) # Applying configuraion ComfyBlog.configure do |conf| conf.admin_route_prefix = ComfortableMexicanSofa.config.admin_route_prefix conf.admin_controller = 'CmsAdmin::BaseController' conf.form_builder = 'ComfortableMexicanSofa::FormBuilder' end # Adding view hooks ComfortableMexicanSofa::ViewHooks.add(:navigation, '/admin/blog/navigation') end end end end
Version data entries
6 entries across 6 versions & 1 rubygems