GSA-OCSIT/mygov-discovery — pull request #1 by jgrevich (2013-03-16 01:00:34+00:00)
Title: Rescue addressable uri error with proper error message

I noticed the default input for pages#index, 'http://', throws a 500 error (see:
http://discovery.my.usa.gov/pages?url=http%3A%2F%2F). I added a rescue clause to
render a more informative error message using json. I also included a test against
such malformed URIs.