diff --git a/app/views/foreman_puppet/puppetclasses/index.html.erb b/app/views/foreman_puppet/puppetclasses/index.html.erb index 19242be4..15f14c7c 100644 --- a/app/views/foreman_puppet/puppetclasses/index.html.erb +++ b/app/views/foreman_puppet/puppetclasses/index.html.erb @@ -29,7 +29,7 @@ main_app.hash_for_edit_hostgroup_path(id: hg).merge(auth_object: hg, authorizer: @hostgroups_authorizer) end.to_sentence.html_safe %> - <%= link_to puppetclass.hosts_count, main_app.hosts_path(search: "class = #{puppetclass.name}")%> + <%= link_to puppetclass.hosts_count, main_app.hosts_path(search: "puppetclass = #{puppetclass.name}")%> <%= puppetclass.class_params.size %> <%