Commit 81cabbd4

mo khan <mo@mokhan.ca>
2014-08-27 02:54:25
add param to bust the cache when viewing the infinite scroll.
1 parent 3cbed07
Changed files (1)
app
views
app/views/creations/_index.html.erb
@@ -19,5 +19,5 @@
   <% end %>
 </div>
 <div id='more-button-row' class="row-fluid">
-  <%= link_to_next_page @creations, 'More...', remote: true, class: 'btn pull-right more-button hidden', data: { disable_with: 'loading...' } %>
+  <%= link_to_next_page @creations, 'More...', params: { cache: false }, remote: true, class: 'btn pull-right more-button hidden', data: { disable_with: 'loading...' } %>
 </div>