Don't require rails explicitly because refinerycms-core will do it for us.
This commit is contained in:
parent
567bdd6334
commit
26243ddade
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
require 'refinerycms-blog'
|
require 'refinerycms-blog'
|
||||||
require 'rails'
|
|
||||||
|
|
||||||
module Refinery
|
module Refinery
|
||||||
module Blog
|
module Blog
|
||||||
class Engine < Rails::Engine
|
class Engine < Rails::Engine
|
||||||
|
@ -20,7 +19,7 @@ module Refinery
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
config.after_initialize do
|
config.after_initialize do
|
||||||
Refinery.register_engine(Refinery::Blog)
|
Refinery.register_engine(Refinery::Blog)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue