Refactored everything (models, helpers) into proper namespace of Refinery::Blog. Requires refinery commit 25162b585b9c4023d39fd1a9796140bfa4ecb909
This commit is contained in:
parent
d18364d359
commit
36c005ecd1
47 changed files with 725 additions and 718 deletions
|
@ -6,6 +6,7 @@ module Refinery
|
|||
autoload :BlogGenerator, 'generators/refinery/blog/blog_generator'
|
||||
|
||||
module Blog
|
||||
|
||||
require 'refinery/blog/engine' if defined?(Rails)
|
||||
|
||||
autoload :Version, 'refinery/blog/version'
|
||||
|
@ -30,6 +31,10 @@ module Refinery
|
|||
def factory_paths
|
||||
@factory_paths ||= [ root.join("spec/factories").to_s ]
|
||||
end
|
||||
|
||||
def table_name_prefix
|
||||
'refinery_blog_'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue