benschwarz/amnesia — pull request #7 by glaszig (2013-07-26 17:04:12+00:00)
Title: namespaced mount

if i mount anmesia in a rails namespace, assets and links won't work because they're hard coded:

```ruby
namespace :admin do
mount Amnesia::Application.new => "/amnesia", as: :amnesia
end
```

this patch makes link generation dynamic by using sinatra's [url helper](http://www.sinatrarb.com/intro.html#Generating%20URLs).