method

parameter_shell

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.

parameter_shell()
public

A route’s parameter shell contains parameter values that are not in the route’s path, but should be placed in the recognized hash.

For example, +{:controller => ‘pages’, :action => ‘show’} is the shell for the route:

  map.connect '/page/:id', :controller => 'pages', :action => 'show', :id => /\d+/