From 0500becd3fa868bf0eabb8ad47e4cd9f933abb96 Mon Sep 17 00:00:00 2001 From: Cesar Carruitero Date: Fri, 9 Nov 2012 10:21:34 -0500 Subject: change rdoc syntax for adecuate render [ci-skip] --- actionpack/lib/action_dispatch/routing/redirection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_dispatch/routing/redirection.rb b/actionpack/lib/action_dispatch/routing/redirection.rb index c8566aed81..ecaac84057 100644 --- a/actionpack/lib/action_dispatch/routing/redirection.rb +++ b/actionpack/lib/action_dispatch/routing/redirection.rb @@ -116,7 +116,7 @@ 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 + # Note that the do end syntax for the redirect block wouldn't work, as Ruby would pass # the block to +get+ instead of +redirect+. Use { ... } instead. # # The options version of redirect allows you to supply only the parts of the url which need -- cgit v1.2.3