Permalink
Browse files

Fix formatting

  • Loading branch information...
1 parent 5b336ff commit 3333fe283c8b15dca9786e95b764a2664f2ceaef @oscardelben oscardelben committed Apr 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_dispatch/routing/redirection.rb
@@ -72,8 +72,8 @@ module Redirection
# "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.

0 comments on commit 3333fe2

Please sign in to comment.