Class

RouteSet

Extends:

Includes:

There's no documentation for this item.

Classes
Mapper Mapper instances are used to build routes. The object passed to the draw block in config/routes.rb is a Mapper instance.
NamedRouteCollection A NamedRouteCollection instance is a collection of named routes, and also maintains an anonymous module that can be used to install helpers for the named routes.
Public Attributes
named_routes
routes
Public Methods
add_named_route
add_route
build_expiry
builder Subclasses and plugins may override this method to specify a different RouteBuilder instance, so that other route DSL’s can be created.
clear!
draw
empty?
extra_keys Generate the path indicated by the arguments, and return an array of the keys that were not used to generate it.
extract_request_environment Subclasses and plugins may override this method to extract further attributes from the request, for use by route conditions and such.
generate
generate_extras
install_helpers
load!
load_routes!
new
options_as_params
raise_named_route_error try to give a helpful error message when named route generation fails
recognize
recognize_path
reload
reload! Alias for #load!
routes_by_controller
routes_for
routes_for_controller_and_action
routes_for_controller_and_action_and_keys
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.