app/views/leads/show.js.haml in fat_free_crm-0.16.4 vs app/views/leads/show.js.haml in fat_free_crm-0.17.1

- old
+ new

@@ -1,5 +1,5 @@ - entity_name = controller.controller_name.singularize.underscore #account - @entity = instance_variable_get("@#{entity_name}") -$('#main').html('#{ j (render :template => "#{entity_name.pluralize}/show.html", entity_name => @entity) }'); +$('#main').html('#{ j (render template: "#{entity_name.pluralize}/show.html", entity_name => @entity) }'); = raw generate_js_for_popups(@entity, :tasks)