提交 3333fe28 编写于 作者: O Oscar Del Ben

Fix formatting

上级 5b336ff4
...@@ -72,8 +72,8 @@ module Redirection ...@@ -72,8 +72,8 @@ module Redirection
# "http://#{request.host_with_port}/#{path}" # "http://#{request.host_with_port}/#{path}"
# } # }
# #
# Note that the `do end` syntax for the redirect block wouldn't work, as Ruby would pass # 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. # 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 # 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. # to change, it also supports interpolation of the path similar to the first example.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册