method

new

rails latest stable - Class: Rails::Engine::LazyRouteSet

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

new(config = DEFAULT_CONFIG)
public

No documentation available.

# File railties/lib/rails/engine/lazy_route_set.rb, line 49
      def initialize(config = DEFAULT_CONFIG)
        super
        self.named_routes = NamedRouteCollection.new
        named_routes.url_helpers_module.prepend(method_missing_module)
        named_routes.path_helpers_module.prepend(method_missing_module)
      end