module PatternLibrary
  module ApplicationHelper
  end
end

module PatternLibrary
  module ApplicationHelper
    def method_missing(method, *args, &block)
      method_name = method.to_s
      if (method_name.end_with?('_path') || method_name.end_with?('_url')) && main_app.respond_to?(method)
        main_app.send method, *args
      else
        super
      end
    end
  end
end

Break engine isolation a bit.
Break engine isolation a bit.

Allow application route helpers to be accessed if they dont match
anything in the engine first. Needed to embed pages in app layout
