<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,13 +3,17 @@
 &lt;% if @locations and @locations.any? %&gt;
   &lt;p&gt;(&lt;em&gt;&lt;%= link_to 'View These Results On A Map', params.merge(:format =&gt; :map) %&gt;&lt;/em&gt;)&lt;/p&gt;
 
-  &lt;%= page_entries_info @locations %&gt;
+  &lt;% if @locations.respond_to?(:total_pages) %&gt;
+    &lt;%= page_entries_info @locations %&gt;
+  &lt;% end %&gt;
   
   &lt;ul id=&quot;hotspot-list&quot;&gt;
     &lt;%= render :collection =&gt; @locations, :partial =&gt; 'locations/location' %&gt;
   &lt;/ul&gt;
   
-  &lt;%= will_paginate @locations %&gt;
+  &lt;% if @locations.respond_to?(:total_pages) %&gt;
+    &lt;%= will_paginate @locations %&gt;
+  &lt;% end %&gt;
 &lt;% end %&gt;
 
 &lt;% content_for :extra_headers do %&gt;</diff>
      <filename>app/views/search/results.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6857e906f1bd85ac38a07ebf4153e0dbb8e526c7</id>
    </parent>
  </parents>
  <author>
    <name>James Stewart</name>
    <email>james@ketlai.co.uk</email>
  </author>
  <url>http://github.com/jystewart/grand-rapids-wifi/commit/e2d2e7d5731e9b9f6c6c8b486021c0f114d5cd5e</url>
  <id>e2d2e7d5731e9b9f6c6c8b486021c0f114d5cd5e</id>
  <committed-date>2009-10-14T11:47:27-07:00</committed-date>
  <authored-date>2009-10-14T11:47:27-07:00</authored-date>
  <message>Only use will_paginate where appropriate</message>
  <tree>286c41dcf8a53b5cfb7a19cac3ad96170f1c5fa2</tree>
  <committer>
    <name>James Stewart</name>
    <email>james@ketlai.co.uk</email>
  </committer>
</commit>
