Updated to support Refinery CMS 2.0.1 and Rails 3.2.2

This commit is contained in:
Philip Arndt 2012-03-06 13:17:41 +13:00
parent 1a3e0d057c
commit fccc86e63c
4 changed files with 6 additions and 10 deletions

View file

@ -9,11 +9,9 @@ module Refinery
Refinery::Plugin.register do |plugin|
plugin.pathname = root
plugin.name = "refinerycms_blog"
plugin.url = {:controller => 'refinery/blog/admin/posts'}
plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.blog_admin_posts_path }
plugin.menu_match = /refinery\/blog\/?(posts|comments|categories)?/
plugin.activity = {
:class_name => :'refinery/blog/post'
}
plugin.activity = { :class_name => :'refinery/blog/post' }
end
end

View file

@ -3,7 +3,7 @@ module Refinery
class Version
@major = 2
@minor = 0
@tiny = 0
@tiny = 1
class << self
attr_reader :major, :minor, :tiny