Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8387

Show
Ignore:
Timestamp:
12/14/07 18:12:08 (7 months ago)
Author:
david
Message:

Docfix (closes #10429) [jamesh/ssoroka]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/routing.rb

    r8380 r8387  
    10491049    end 
    10501050 
    1051     class RouteSet #:nodoc: 
     1051    class RouteSet #:nodoc:  
    10521052      # Mapper instances are used to build routes. The object passed to the draw 
    10531053      # block in config/routes.rb is a Mapper instance. 
     
    10551055      # Mapper instances have relatively few instance methods, in order to avoid 
    10561056      # clashes with named routes. 
    1057       class Mapper #:nodoc: 
    1058         def initialize(set) 
     1057      class Mapper #:doc: 
     1058        def initialize(set) #:nodoc: 
    10591059          @set = set 
    10601060        end 
    10611061 
    10621062        # Create an unnamed route with the provided +path+ and +options+. See 
    1063         # SomeHelpfulUrl for an introduction to routes. 
     1063        # ActionController::Routing for an introduction to routes. 
    10641064        def connect(path, options = {}) 
    10651065          @set.add_route(path, options) 
     
    10711071        end 
    10721072 
    1073         def named_route(name, path, options = {}) 
     1073        def named_route(name, path, options = {}) #:nodoc: 
    10741074          @set.add_named_route(name, path, options) 
    10751075        end 
     
    10831083        #   end 
    10841084        # 
    1085         # This will create admin_products_url pointing to "admin/products", which will look for an Admin::ProductsController. 
    1086         # It'll also create admin_product_tags_url pointing to "admin/products/#{product_id}/tags", which will look for 
     1085        # This will create +admin_products_url+ pointing to "admin/products", which will look for an Admin::ProductsController. 
     1086        # It'll also create +admin_product_tags_url+ pointing to "admin/products/#{product_id}/tags", which will look for 
    10871087        # Admin::TagsController. 
    10881088        def namespace(name, options = {}, &block) 
     
    10941094        end 
    10951095 
    1096  
    1097         def method_missing(route_name, *args, &proc) 
     1096        def method_missing(route_name, *args, &proc) #:nodoc: 
    10981097          super unless args.length >= 1 && proc.nil? 
    10991098          @set.add_named_route(route_name, *args)