[PATCH conductor] Fix render_pagination
ifarkas at redhat.com
ifarkas at redhat.com
Wed Mar 21 14:44:02 UTC 2012
From: Imre Farkas <ifarkas at 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
--
1.7.6.5
More information about the aeolus-devel
mailing list