Fixed master agent creation on getting_started.

This commit is contained in:
Martin Edenhofer 2012-08-02 12:06:26 +02:00
parent 4e67df9573
commit f6fd9673de

View file

@ -5,7 +5,7 @@ class GettingStartedController < ApplicationController
# check if first user already exists
master_user = 0
count = User.all.count()
if count == 1
if count <= 2
master_user = 1
end