diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-01 16:26:25 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-01 16:26:25 +0100 |
commit | 1d0321fc4556b947c8b3482d7bef631b0ccf038b (patch) | |
tree | 32fd569f3b8324fe30506aa5894d3f8661d5a56c /app/views | |
parent | bdf7d8f8fd09dfa3a9182c575a3101c73ecc543f (diff) |
Fix pt translations, improve pre-cache queries, removing will_paginate
from accounts/tags because it's a terribly inefficient way to paginate large sets of data
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/accounts/show.html.haml | 2 | ||||
-rw-r--r-- | app/views/tags/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index 563b43849..c04faa32f 100644 --- a/app/views/accounts/show.html.haml +++ b/app/views/accounts/show.html.haml @@ -14,4 +14,4 @@ .activity-stream = render partial: 'stream_entries/status', collection: @statuses, as: :status -= will_paginate @statuses, pagination_options += id_paginate account_url(@account), 20, @statuses diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml index 0e6fd2db7..bfe5c0439 100644 --- a/app/views/tags/show.html.haml +++ b/app/views/tags/show.html.haml @@ -5,4 +5,4 @@ .activity-stream = render partial: 'stream_entries/status', collection: @statuses, as: :status, cached: true -= will_paginate @statuses, pagination_options += id_paginate tag_path, 20, @statuses |