lib/murlsh/dispatch.rb in murlsh-1.7.1 vs lib/murlsh/dispatch.rb in murlsh-1.8.0

- old
+ new

@@ -34,9 +34,10 @@ [%r{^(?:HEAD|GET) #{root_path}random$}, random_server.method(:get)], [%r{^(?:HEAD|GET) #{root_path}rss\.rss$}, rss_server.method(:get)], [%r{^(?:HEAD|GET) #{root_path}(url)?$}, url_server.method(:get)], [%r{^GET #{root_path}bookmarklet$}, url_server.method(:post)], [%r{^POST #{root_path}(url)?$}, url_server.method(:post)], + [%r{^DELETE #{root_path}url/\d+$}, url_server.method(:delete)], ] db_init end