GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of lifo/doc-rails
Description: Repository for improving Rails documentation
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/zmalltalker/doc-rails.git
fixed-width font for symbols in AC::Routing::RouteBuilder docs
Xavier Noria (author)
Thu Apr 10 07:44:24 -0700 2008
commit  de25ecbc992cf2560a2854a69d4755d4e40812d3
tree    bd83bfec682f4a2c57dd10b721e050c1bfb78b9e
parent  c4f410acb888493c469b41935f521af27b5fff6c
...
124
125
126
127
 
128
129
130
...
187
188
189
190
 
191
192
193
...
124
125
126
 
127
128
129
130
...
187
188
189
 
190
191
192
193
0
@@ -124,7 +124,7 @@ module ActionController
0
         route_requirements
0
       end
0
 
0
- # Assign default options, such as 'index' as a default for :action. This
0
+ # Assign default options, such as 'index' as a default for <tt>:action</tt>. This
0
       # method must be run *after* user supplied requirements and defaults have
0
       # been applied to the segments.
0
       def assign_default_route_options(segments)
0
@@ -187,7 +187,7 @@ module ActionController
0
         end
0
 
0
         # Routes cannot use the current string interpolation method
0
- # if there are user-supplied :requirements as the interpolation
0
+ # if there are user-supplied <tt>:requirements</tt> as the interpolation
0
         # code won't raise RoutingErrors when generating
0
         if options.key?(:requirements) || route.requirements.keys.to_set != Routing::ALLOWED_REQUIREMENTS_FOR_OPTIMISATION
0
           route.optimise = false

Comments

    No one has commented yet.