vendor/plugins/news/init.rb in refinerycms-0.9.2.2 vs vendor/plugins/news/init.rb in refinerycms-0.9.3
- old
+ new
@@ -1,7 +1,8 @@
Refinery::Plugin.register do |plugin|
plugin.directory = directory
plugin.title = "News"
plugin.description = "Provides a blog-like news section"
plugin.version = 1.0
+ plugin.menu_match = /admin\/((news)|(news_items))$/
plugin.activity = {:class => NewsItem, :title => 'title', :url_prefix => 'edit'}
end
\ No newline at end of file