From fccc86e63c856dba5f62e6d7b5ea0868aec872b3 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Tue, 6 Mar 2012 13:17:41 +1300 Subject: Updated to support Refinery CMS 2.0.1 and Rails 3.2.2 --- lib/refinery/blog/engine.rb | 6 ++---- lib/refinery/blog/version.rb | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/refinery/blog/engine.rb b/lib/refinery/blog/engine.rb index f444f2d..f81e110 100644 --- a/lib/refinery/blog/engine.rb +++ b/lib/refinery/blog/engine.rb @@ -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 diff --git a/lib/refinery/blog/version.rb b/lib/refinery/blog/version.rb index 4023000..ff7cb39 100644 --- a/lib/refinery/blog/version.rb +++ b/lib/refinery/blog/version.rb @@ -3,7 +3,7 @@ module Refinery class Version @major = 2 @minor = 0 - @tiny = 0 + @tiny = 1 class << self attr_reader :major, :minor, :tiny -- cgit v1.2.3