Sha256: 25d40ad82e5eb15c5f17baa7d5c37fcbc812b06a36d827e0960044fdcb0b6a00
Contents?: true
Size: 685 Bytes
Versions: 4
Compression:
Stored size: 685 Bytes
Contents
require 'refinerycms-base' module Refinery module Pods class Engine < Rails::Engine initializer "static assets" do |app| app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public" end config.before_initialize do require 'page_extensions_for_pods' end config.to_prepare do Page.send :include, Refinery::Pods::Extensions::Page end config.after_initialize do Refinery::Plugin.register do |plugin| plugin.name = "pods" plugin.activity = { :class => Pod, :title => 'name' } end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-pods-1.0.3 | lib/refinerycms-pods.rb |
refinerycms-pods-1.0.2 | lib/refinerycms-pods.rb |
refinerycms-pods-1.0.1 | lib/refinerycms-pods.rb |
refinerycms-pods-1.0 | lib/refinerycms-pods.rb |