lib/murlsh/dispatch.rb in murlsh-1.6.1 vs lib/murlsh/dispatch.rb in murlsh-1.7.0
- old
+ new
@@ -32,9 +32,10 @@
[%r{^(?:HEAD|GET) #{root_path}podcast\.rss$}, podcast_server.method(:get)],
[%r{^POST #{root_path}pop$}, pop_server.method(:post)],
[%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)],
]
db_init
end