v2.2.1 - Show latest stable - Superclass: Object

Mapper instances are used to build routes. The object passed to the draw block in config/routes.rb is a Mapper instance.

Mapper instances have relatively few instance methods, in order to avoid clashes with named routes.

Included modules

  • ActionController::Resources

Files

  • actionpack/lib/action_controller/resources.rb
  • actionpack/lib/action_controller/routing/route_set.rb