app/views/accounts/index.js.haml in fat_free_crm-0.16.4 vs app/views/accounts/index.js.haml in fat_free_crm-0.17.1

- old
+ new

@@ -2,10 +2,10 @@ - @entities = instance_variable_get("@#{entities}") - if @entities.any? $('##{entities}').html('#{ j render(@entities) }'); - else - $('##{entities}').html('#{ j render(:partial => "shared/empty") }'); + $('##{entities}').html('#{ j render(partial: "shared/empty") }'); -$('#paginate').html('#{ j render(:partial => "shared/paginate_with_per_page") }'); -$('#export').html('#{ j render(:partial => "shared/export") }'); -$('#search_results_count').html('#{ j render(:plain => t('search_results_count', :count => @search_results_count)) }'); +$('#paginate').html('#{ j render(partial: "shared/paginate_with_per_page") }'); +$('#export').html('#{ j render(partial: "shared/export") }'); +$('#search_results_count').html('#{ j render(plain: t('search_results_count', count: @search_results_count)) }');