[PATCH conductor] Fix render_pagination

Jirka Tomasek jtomasek at redhat.com
Wed Mar 21 15:04:04 UTC 2012


On 03/21/2012 03:44 PM, ifarkas at redhat.com wrote:
> 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
ACK



More information about the aeolus-devel mailing list