diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-21 23:04:04 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-21 23:04:04 +0530 |
commit | a719843d31042690fa4fa8f55bc8a647d360b2a8 (patch) | |
tree | d7cf910019968511bd33a15ba2c3709a366f23cd /actionpack/lib/action_dispatch | |
parent | ed8108300b2bb96f9f6888188f4fb8cd418ab950 (diff) | |
parent | c670b57f0f9ec4d992f89e62e513ff5b7baf58ac (diff) | |
download | rails-a719843d31042690fa4fa8f55bc8a647d360b2a8.tar.gz rails-a719843d31042690fa4fa8f55bc8a647d360b2a8.tar.bz2 rails-a719843d31042690fa4fa8f55bc8a647d360b2a8.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/redirection.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/redirection.rb b/actionpack/lib/action_dispatch/routing/redirection.rb index f281738e6f..ae01781013 100644 --- a/actionpack/lib/action_dispatch/routing/redirection.rb +++ b/actionpack/lib/action_dispatch/routing/redirection.rb @@ -72,8 +72,8 @@ module ActionDispatch # "http://#{request.host_with_port}/#{path}" # } # - # Note that the `do end` syntax for the redirect block wouldn't work, as Ruby would pass - # the block to `match` instead of `redirect`. Use `{ ... }` instead. + # Note that the +do end+ syntax for the redirect block wouldn't work, as Ruby would pass + # the block to +match+ instead of +redirect+. Use <tt>{ ... }</tt> instead. # # The options version of redirect allows you to supply only the parts of the url which need # to change, it also supports interpolation of the path similar to the first example. |