Fix incorrect namespace of #named_routes.

ref #1095
I fixed #named_routes behavior.
BTW, should we fix `url` behavior?
Is that alright like this?
```ruby
url(:cap_alerts, :index) #=> "/cap_alerts"
url(:cap, :alerts, :index) #=> InvalidRouteException
```