diff options
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 |