<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@ ActionController::Routing::Routes.draw do |map|
   map.congress_person 'congress_people/:id', :controller =&gt; 'congress_people', :action =&gt; 'show'
   map.twitter_invite  'congress_people/:id/twitter_invite', :controller =&gt; 'congress_people', :action =&gt; 'twitter_invite'
   map.send_twitter_invite  'congress_people/:id/send_twitter_invite', :conditions =&gt; { :method =&gt; :post }, :controller =&gt; 'congress_people', :action =&gt; 'send_twitter_invite'
-  map.zip ':f_address', :controller =&gt; 'localities', :action =&gt; 'show'
+  map.zip ':f_address', :controller =&gt; 'localities', :action =&gt; 'show', :f_address =&gt; /.+/
   map.root :controller =&gt; 'localities', :action =&gt; 'index'
 end
 </diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -9,6 +9,16 @@ describe LocalitiesController do
     @top_recipients = [{:name =&gt; 'name', :amount =&gt; '17', :rank =&gt; 1}]
     FedSpending.stubs(:top_recipients).returns(@top_recipients)
   end
+
+  describe &quot;routes&quot; do
+    it &quot;allows locations with periods&quot; do
+      params_from(:get, &quot;/Washington, D.C.&quot;).should == {:controller =&gt; &quot;localities&quot;, :action =&gt; &quot;show&quot;, :f_address =&gt; &quot;Washington, D.C.&quot;}
+    end
+    it &quot;allows locations without periods&quot; do
+      params_from(:get, &quot;/53716&quot;).should == {:controller =&gt; &quot;localities&quot;, :action =&gt; &quot;show&quot;, :f_address =&gt; &quot;53716&quot;}
+    end
+  end
+
   describe &quot;index action&quot; do
     it &quot;renders index if no query&quot; do
       get :index</diff>
      <filename>spec/controllers/localities_controller_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>308bf4d1b083a224970f4b03c78f2ed2aeb20522</id>
    </parent>
  </parents>
  <author>
    <name>Veez (Matt Remsik)</name>
    <email>mremsik@gmail.com</email>
  </author>
  <url>http://github.com/hashrocket/localpolitics.in/commit/dd115adab2b7707b557d6caa4fa5e8fd8504cf6c</url>
  <id>dd115adab2b7707b557d6caa4fa5e8fd8504cf6c</id>
  <committed-date>2009-04-01T07:46:19-07:00</committed-date>
  <authored-date>2009-04-01T07:46:19-07:00</authored-date>
  <message>Allow periods when searching for locations</message>
  <tree>ae8fd4c36576f0ffe6bb6c37fd0e3970c0ed3e03</tree>
  <committer>
    <name>Veez (Matt Remsik)</name>
    <email>mremsik@gmail.com</email>
  </committer>
</commit>
