sensu/sensu-admin — pull request #65 by hmarr (2013-01-21 13:07:23+00:00)
Title: Allow dot in hostnames

This fixes #63. The issue was caused by hostnames that contain periods. The default Rails regex for matching parameters excludes dots, this modifies the constraint the for the `client` parameter to allow dots.

I also restructured the routes to make use of scopes, to avoid repeating the first part of the path, as well as the additional constraint, in each entry.