diff options
author | Philip Arndt <parndt@gmail.com> | 2012-03-06 13:17:41 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-03-06 13:17:41 +1300 |
commit | fccc86e63c856dba5f62e6d7b5ea0868aec872b3 (patch) | |
tree | 267fe0c5ac65bd4e1dbe9bd600a6275f8cdce83c /lib | |
parent | 1a3e0d057c470d6d2d7c5e03fefa272b036dc41f (diff) | |
download | refinerycms-blog-fccc86e63c856dba5f62e6d7b5ea0868aec872b3.tar.gz refinerycms-blog-fccc86e63c856dba5f62e6d7b5ea0868aec872b3.tar.bz2 refinerycms-blog-fccc86e63c856dba5f62e6d7b5ea0868aec872b3.zip |
Updated to support Refinery CMS 2.0.1 and Rails 3.2.2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/refinery/blog/engine.rb | 6 | ||||
-rw-r--r-- | lib/refinery/blog/version.rb | 2 |
2 files changed, 3 insertions, 5 deletions
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 |