diff options
author | Xavier Noria <fxn@hashref.com> | 2008-05-07 21:36:25 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2008-05-07 21:36:25 +0200 |
commit | aed099a5b993772dfb69b7d76af0a7d56b0bf4de (patch) | |
tree | e37a28951ae3802df59117150569cbf92dc68970 | |
parent | eef46a2e39316bcb3aff6ad6baddf2d5a593cb47 (diff) | |
download | rails-aed099a5b993772dfb69b7d76af0a7d56b0bf4de.tar.gz rails-aed099a5b993772dfb69b7d76af0a7d56b0bf4de.tar.bz2 rails-aed099a5b993772dfb69b7d76af0a7d56b0bf4de.zip |
markup fix, and conventions revision in routing docs
-rw-r--r-- | actionpack/lib/action_controller/routing.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb index 0bffe21431..ecdbf71f7b 100644 --- a/actionpack/lib/action_controller/routing.rb +++ b/actionpack/lib/action_controller/routing.rb @@ -15,7 +15,7 @@ module ActionController # The routing module provides URL rewriting in native Ruby. It's a way to # redirect incoming requests to controllers and actions. This replaces # mod_rewrite rules. Best of all, Rails' Routing works with any web server. - # Routes are defined in routes.rb in your RAILS_ROOT/config directory. + # Routes are defined in <tt>config/routes.rb</tt>. # # Consider the following route, installed by Rails when you generate your # application: @@ -53,7 +53,7 @@ module ActionController # == Route priority # # Not all routes are created equally. Routes have priority defined by the - # order of appearance of the routes in the routes.rb file. The priority goes + # order of appearance of the routes in the <tt>config/routes.rb</tt> file. The priority goes # from top to bottom. The last route in that file is at the lowest priority # and will be applied last. If no route matches, 404 is returned. # @@ -118,7 +118,7 @@ module ActionController # root_url # => 'http://www.example.com/' # root_path # => '' # - # You can also specify an already-defined named route in your map.root call: + # You can also specify an already-defined named route in your <tt>map.root</tt> call: # # # In routes.rb # map.new_session :controller => 'sessions', :action => 'new' @@ -217,7 +217,7 @@ module ActionController # ActionController::Routing::Routes.reload # # This will clear all named routes and reload routes.rb if the file has been modified from - # last load. To absolutely force reloading, use +reload!+. + # last load. To absolutely force reloading, use <tt>reload!</tt>. # # == Testing Routes # |