app/views/entities/opportunities.js.haml in fat_free_crm-0.16.4 vs app/views/entities/opportunities.js.haml in fat_free_crm-0.17.1

- old
+ new

@@ -1,3 +1,3 @@ -- opportunities = entity.opportunities.order('updated_at DESC').paginate(:page => params[:page], :per_page => 20) -$('#opportunities').html('#{ j render(:partial => 'opportunities/opportunity', :collection => opportunities) }'); +- opportunities = entity.opportunities.order('updated_at DESC').paginate(page: params[:page], per_page: 20) +$('#opportunities').html('#{ j render(partial: 'opportunities/opportunity', collection: opportunities) }'); $('#opportunities_pagination').html('#{ j paginate(collection: opportunities, container: false, params: { action: 'opportunities' } ) }');