Sha256: d7d752e894fe21a5289fb9de44b6bc983591ce66d42871461256c945e27d2f58
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
require 'rails' require 'sunrise-posts' module Sunrise module Posts class Engine < ::Rails::Engine config.after_initialize do Sunrise::Plugin.register :posts do |plugin| plugin.model = 'sunrise/models/post' plugin.menu = false plugin.version = Sunrise::Posts::VERSION.dup end Sunrise::Plugins.activate(:posts) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sunrise-posts-0.1.0 | lib/sunrise/posts/engine.rb |