module Roots
  class Engine < ::Rails::Engine
     isolate_namespace Roots
  end
end

module Roots
  class Engine < ::Rails::Engine
     isolate_namespace Roots

     initializer 'roots', before: :load_config_initializers do |app|
      Rails.application.routes.append do
        mount Roots::Engine, at: '/roots'
      end
    end
  end
end

Allow Roots to mount itself
Allow Roots to mount itself
