require "pageflow/page_type" module Pageflow module BeforeAfter class Engine < Rails::Engine isolate_namespace Pageflow::BeforeAfter include Pageflow::PageType::Engine config.autoload_paths << File.join(config.root, 'lib') end end end