aboutsummaryrefslogblamecommitdiffstats
path: root/lib/refinerycms-blog.rb
blob: fafedf53145daf80493ac6706cf704dfd823dd48 (plain) (tree)
1
2
3
4
5
6
7
8
9



                  
                      
                                                                  
 

               

                                              
 
                 

                         
                                                                    
         
 



                                      
     
   

                                                 
require 'rubygems'
require 'bundler'
Bundler.require

require 'filters_spam'
require File.expand_path('../generators/blog_generator', __FILE__)

module Refinery
  module Blog
    autoload :Version, 'refinery/blog/version'
    autoload :Tab, 'refinery/blog/tabs'

    class << self
      attr_accessor :root
      def root
        @root ||= Pathname.new(File.expand_path('../../', __FILE__))
      end

      def version
        ::Refinery::Blog::Version.to_s
      end
    end
  end
end

require 'refinery/blog/engine' if defined?(Rails)