aboutsummaryrefslogtreecommitdiffstats
path: root/rails/init.rb
blob: 13abf823d83b9cb14c9c0bd9535a814ab5f99790 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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
  }

  plugin.directory = directory # tell refinery where this plugin is located
end