rails/rails — pull request #6391 by strzalek (2012-05-18 21:29:02+00:00)
Title: Redirect route inspect

This pull request fixes route inspection for routes that are redirection.

routes.rb:

```ruby
FooBar::Application.routes.draw do
match "/foo" => redirect("/bar")
end
```

`rake routes` now:

```
foo /foo(.:format) :controller#:action"
```

after patch, fixed:

```
foo /foo(.:format) Redirect (301)
```