intridea/grape — pull request #159 by gaiottino (2012-04-04 08:53:49+00:00)
Title: Adding :requirements to routes so it's possible to use periods etc in path

This is a pull request that simplifies the work done by @rodzyn here: https://github.com/intridea/grape/pull/145

The main differences is that it's updated for the latest master, and also doesn't change the handling of the default format. The difference from how things work today is that it doesn't throw an exception if the :format is not part of the allowed content_types.