Watcher: Use relative paths in HTML links
authorLawrence Pit <lawrence.pit@gmail.com>
Fri, 30 Nov 2012 00:37:08 +0000 (11:37 +1100)
committerEric Wong <normalperson@yhbt.net>
Fri, 30 Nov 2012 01:25:23 +0000 (01:25 +0000)
commita8be099aabc0661e2074e1bd4aa42fbb5139ae0d
tree19cbf0430af3369f39cecfcce213e029f86baf06
parentdd72d3f180483957dd5c5d7a9369e9ee72fe14fa
Watcher: Use relative paths in HTML links

When I mount Raindrops::Watcher like so:

   map "/_raindrops" do
     run Raindrops::Watcher.new
   end

Then in the HTML output links use an absolute path instead of relative
to the path /_raindrops/

Cheers,
Lawrence

Signed-off-by: Eric Wong <normalperson@yhbt.net>
lib/raindrops/watcher.rb