From 0e4dbb28e923ca2a9065f23ba433ce74f9f0d42d Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Sat, 2 Jul 2011 11:58:26 +1200 Subject: Fixed indentation, use spaces not tabs. --- lib/refinerycms-blog.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/refinerycms-blog.rb b/lib/refinerycms-blog.rb index 7100c99..452863b 100644 --- a/lib/refinerycms-blog.rb +++ b/lib/refinerycms-blog.rb @@ -8,8 +8,9 @@ module Refinery class << self attr_accessor :root def root - @root ||= Pathname.new(File.expand_path('../../', __FILE__)) + @root ||= Pathname.new(File.expand_path('../../', __FILE__)) end + def version ::Refinery::Blog::Version.to_s end @@ -26,7 +27,7 @@ module Refinery config.after_initialize do Refinery::Plugin.register do |plugin| - plugin.pathname = root + plugin.pathname = root plugin.name = "refinerycms_blog" plugin.url = {:controller => '/admin/blog/posts', :action => 'index'} plugin.menu_match = /^\/?(admin|refinery)\/blog\/?(posts|comments|categories)?/ -- cgit v1.2.3