Skip to content

Commit

Permalink
Merge remote branch 'core/experiment-of-one' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Feb 13, 2011
2 parents e239e85 + d111789 commit bbc222f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/experiment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def num_versions=(n)

def min_versions
return @min_versions if @min_versions
@min_versions = self.started? ? self.versions.size : 2
@min_versions = 2 if @min_versions < 2
@min_versions = self.started? ? self.versions.size : 1
@min_versions = 1 if @min_versions < 1
@min_versions
end

Expand Down

0 comments on commit bbc222f

Please sign in to comment.