aboutsummaryrefslogtreecommitdiffstats
path: root/rails/init.rb
blob: 658936e1c968e327962e3766217083bb17c51774 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
require File.expand_path('../../lib/refinerycms-blog', __FILE__)

Refinery::Plugin.register do |plugin|
  plugin.name = "refinerycms_blog"
  plugin.url = {:controller => '/admin/blog/posts', :action => 'index'}
  plugin.menu_match = /^\/?(admin|refinery)\/blog\/?(posts|comments|categories)?/
  plugin.activity = {
    :class => BlogPost
  }
end