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/helpers | |
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/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index be82ff2fe..29c2c9120 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -4,4 +4,8 @@ module ApplicationHelper def active_nav_class(path) current_page?(path) ? 'active' : '' end + + def id_paginate(path, per_page, collection) + # todo + end end |