blob: 326e36a7c8f60eb6ea3ef6cad6abb88b293af8a3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
require 'refinerycms-core'
require 'filters_spam'
require 'rails_autolink'
module Refinery
autoload :BlogGenerator, 'generators/refinery/blog/blog_generator'
module Blog
require 'refinery/blog/engine' if defined?(Rails)
autoload :Version, 'refinery/blog/version'
autoload :Tab, 'refinery/blog/tabs'
class << self
attr_writer :root
attr_writer :tabs
def root
@root ||= Pathname.new(File.expand_path('../../', __FILE__))
end
def tabs
@tabs ||= []
end
def version
::Refinery::Blog::Version.to_s
end
def factory_paths
@factory_paths ||= [ File.expand_path("../../spec/factories", __FILE__) ]
end
end
end
end
|