title: Why Am I Unable to Pass Data to Iron-Router Route Template?
body: <p>I just updated to Meteor 1.0 and the latest version of Iron-Router. </p>
  
  <p>For whatever reason, when I pass data to a template that includes only a single document, it works. But when I try to pass multiple documents to the template, I get a blank screen. </p>
  
  <pre><code>//galleryRoute.js
  
  Router.route('/:section', function() {
      this.layout('Gallery', {
          data: function() { 
              var data =  { photos: photos.find({ path: { $regex: '/'+this.params.section +'/' } }) };
              return data;
          }
      });
  });
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;template name="Gallery"&gt;
      &lt;div class="container"&gt;
          {{#each photos}}    
              &lt;div class="section-photo" style="background:url({{path}}) no-repeat center center; width:175px; height:175px; background-size:cover;"&gt;&lt;/div&gt;
          {{/each}}
      &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <hr>
  
  <p>Wondering if anyone has any ideas about why this would be? </p>