Project

General

Profile

« Previous | Next » 

Revision b9de943f

Added by Ohad Levy over 12 years ago

  • ID b9de943f1cbd4c26353d7557a68d73ca2bc55aa3

fixes #1320 - Subnet import fails on ruby 1.85

View differences:

app/helpers/subnets_helper.rb
# expand or minimize the subnet when importing
def minimal? subnets
subnets.each {|s| return false unless s.errors.empty?}
subnets.count > 2
subnets.size > 2
end
# which options should be shown when importing subnets

Also available in: Unified diff