sinatra/sinatra — pull request #466 by yeban (2012-02-12 21:14:06+00:00)
Title: define new condition, verb, to match HTTP method when defining filters

So one can easily define filters for routes with the same URL pattern but different HTTP method.

---

I needed this in one of my projects recently, and felt it would be of interest to a wider audience. What do you guys think? I will add tests if the patch is of any interest :).

Thanks!