module Neighborly
  module Balanced
    module Bankaccount
      class Engine < ::Rails::Engine
        isolate_namespace Neighborly::Balanced::Bankaccount
      end
    end
  end
end

module Neighborly
  module Balanced
    module Bankaccount
      class Engine < ::Rails::Engine
        isolate_namespace Neighborly::Balanced::Bankaccount
        initializer 'action_controller' do |app|
          ActiveSupport.on_load :action_controller do
            helper Rails.application.helpers
          end
        end
      end
    end
  end
end

Load helpers from main application
Load helpers from main application

With this we are able to use helpers that is on the main application.
It also allow us to render the application layout here in the engine.
