[PATCH conductor] Fixed JSON for deployments in pools#index(pretty view)
Tomas Hrcka
thrcka at redhat.com
Mon Sep 10 12:34:03 UTC 2012
On Tue, 2012-08-28 at 16:22 +0200, jzigmund at redhat.com wrote:
> From: Jozef Zigmund <jzigmund at redhat.com>
>
> The link to deployment#show on pools#index has been broken
> after backbone refresh the page.
> ---
> src/app/helpers/mustache_helper.rb | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/app/helpers/mustache_helper.rb b/src/app/helpers/mustache_helper.rb
> index be4a0c0..45d7709 100644
> --- a/src/app/helpers/mustache_helper.rb
> +++ b/src/app/helpers/mustache_helper.rb
> @@ -122,7 +122,9 @@ module MustacheHelper
> current_user,
> Privilege::VIEW).
> ascending_by_name, params[:page],
> - PER_PAGE)
> + PER_PAGE).
> + map {|deployment| view_context.deployment_for_mustache(deployment)}
> +
> }
> end
>
ACK.
More information about the aeolus-devel
mailing list