Sha256: 3e7694da9fa60a07dde08e82f19a099b3a92126fcd9304e9dcbe32d950cd7029
Contents?: true
Size: 576 Bytes
Versions: 11
Compression:
Stored size: 576 Bytes
Contents
require 'refinery' require File.expand_path('../news', __FILE__) module Refinery module News class Engine < Rails::Engine config.after_initialize do Refinery::Plugin.register do |plugin| plugin.name = "refinerycms_news" plugin.menu_match = /(admin|refinery)\/news(_items)?$/ plugin.url = {:controller => '/admin/news_items', :action => 'index'} plugin.activity = { :class => NewsItem, :title => 'title', :url_prefix => 'edit' } end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems