method

install

rails latest stable - Class: ActionDispatch::Routing::RouteSet::NamedRouteCollection

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

install(destinations = [ActionController::Base, ActionView::Base], regenerate = false)
public

No documentation available.

# File actionpack/lib/action_dispatch/routing/route_set.rb, line 154
        def install(destinations = [ActionController::Base, ActionView::Base], regenerate = false)
          reset! if regenerate
          Array(destinations).each do |dest|
            dest.__send__(:include, @module)
          end
        end