method

defaults

rails latest stable - Class: ActionController::Routing::Route

Method deprecated or moved

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

defaults()
public

Return a hash of key/value pairs representing the keys in the route that have defaults, or which are specified by non-regexp requirements.