On 03/21/2012 03:44 PM, ifarkas(a)redhat.com wrote:
From: Imre Farkas<ifarkas(a)redhat.com>
---
src/app/helpers/application_helper.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/helpers/application_helper.rb
b/src/app/helpers/application_helper.rb
index 651f55c..8cb9c05 100644
--- a/src/app/helpers/application_helper.rb
+++ b/src/app/helpers/application_helper.rb
@@ -164,7 +164,7 @@ module ApplicationHelper
end
def render_pagination(collection)
- will_paginate(@collection, :previous_label =>
t('will_paginate.previous_label'), :next_label =>
t('will_paginate.next_label'))
+ will_paginate(collection, :previous_label =>
t('will_paginate.previous_label'), :next_label =>
t('will_paginate.next_label'))
end
module_function :count_uptime
ACK