summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-08-26 20:54:25 -0600
committermo khan <mo@mokhan.ca>2014-08-26 20:54:25 -0600
commit81cabbd4c80c7ee430ab0d2a87f235a58a2e8ea4 (patch)
tree0324e73784d1b41a4488342dd6be3cf65337a4ec
parent3cbed07134b790d2c15585715c9b696babc7cfcb (diff)
add param to bust the cache when viewing the infinite scroll.
-rw-r--r--app/views/creations/_index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/creations/_index.html.erb b/app/views/creations/_index.html.erb
index e334551f..1ae29993 100644
--- a/app/views/creations/_index.html.erb
+++ b/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>