aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorOscar Del Ben <info@oscardelben.com>2012-04-18 15:10:02 +0200
committerOscar Del Ben <info@oscardelben.com>2012-04-18 15:10:02 +0200
commit3333fe283c8b15dca9786e95b764a2664f2ceaef (patch)
tree67203e56e6517f602a7a96fe19495774056d954b /actionpack/lib
parent5b336ff44364ac4adcf137838e71a8f0bb4f35a0 (diff)
downloadrails-3333fe283c8b15dca9786e95b764a2664f2ceaef.tar.gz
rails-3333fe283c8b15dca9786e95b764a2664f2ceaef.tar.bz2
rails-3333fe283c8b15dca9786e95b764a2664f2ceaef.zip
Fix formatting
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/routing/redirection.rb4
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.