sinatra/sinatra — Issue #458: set :routes
Author: najamkhn
Created: 2012-01-23 20:15:59+00:00
State: open

The code fragment below doesn't work:
```ruby
set :routes, {
:home => '/'
}

get settings.routes[:home] do
#blah
end
```

Seems like everytime you try to set :routes, it doesn't return the correct value only incase if its used after get, it works fine if you print it or anything. Problem can be avoided by renaming the `routes` to something else, but since documentation doesn't mention it anywhere, I think it should just be brought to notice.