From 21f1214c2539c151fd7248e6549d681a1cae26ee Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 14 Jul 2012 09:11:24 +0200 Subject: [PATCH] Allow getting started mode with 2 users. --- app/controllers/getting_started_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/getting_started_controller.rb b/app/controllers/getting_started_controller.rb index b37624900..74a243140 100644 --- a/app/controllers/getting_started_controller.rb +++ b/app/controllers/getting_started_controller.rb @@ -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