Changeset 9226 for trunk/actionpack/lib/action_controller/routing.rb
- Timestamp:
- 04/05/08 03:52:58 (6 months ago)
- Files:
-
- trunk/actionpack/lib/action_controller/routing.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/routing.rb
r9115 r9226 48 48 # :action maps to an action with your controllers 49 49 # 50 # Other names simply map to a parameter as in the case of +:id+.50 # Other names simply map to a parameter as in the case of <tt>:id</tt>. 51 51 # 52 52 # == Route priority … … 83 83 # This means visiting '/' would invoke the blog controller. 84 84 # 85 # More formally, you can define defaults in a route with the +:defaults+key.85 # More formally, you can define defaults in a route with the <tt>:defaults</tt> key. 86 86 # 87 87 # map.connect ':controller/:action/:id', :action => 'show', :defaults => { :page => 'Dashboard' }