module Pageflow module TimelinePage class Engine < Rails::Engine isolate_namespace Pageflow::TimelinePage config.autoload_paths << File.join(config.root, 'lib') config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s] initializer "pageflow-timline-page.add_watchable_files", group: :all do |app| app.config.watchable_files.concat Dir["#{config.root}/app/assets/javascripts/**/*.jsx*"] end end end end