Sha256: adeda47ba768c84385fb9c149d153d61f3ed79590a4487900b2d95a2490d83c7
Contents?: true
Size: 501 Bytes
Versions: 2
Compression:
Stored size: 501 Bytes
Contents
require 'refinerycms-base' module Refinery module Sites class Engine < Rails::Engine initializer "static assets" do |app| app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public" end config.after_initialize do Refinery::Plugin.register do |plugin| plugin.name = "sites" plugin.activity = { :class => Site, :title => 'name' } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-multisite-0.0.2 | lib/refinerycms-multisite.rb |
refinerycms-multisite-0.0.1 | lib/refinerycms-multisite.rb |