lib/rbbt/rest/entity.rb in rbbt-rest-1.4.1 vs lib/rbbt/rest/entity.rb in rbbt-rest-1.4.2

- old
+ new

@@ -136,11 +136,9 @@ entity_type = Entity::REST.restore_element(entity_type) list_id = Entity::REST.restore_element(list_id) list = Entity::List.load_list(entity_type.split(":").first, list_id, user) - raise "List not found" if list.nil? - case @format when :raw, :literal content_type "text/tab-separated-values" user_file = Entity::List.list_file(entity_type.split(":").first, list_id, user) send_file user_file if File.exists? user_file