From: Marius Gavrilescu Date: Thu, 27 Mar 2014 17:06:36 +0000 (+0200) Subject: open -> opens X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=ca8b5383e0652370d5f043cc2440a53cc9da8bfc;p=plack-app-gruntmaster.git open -> opens --- diff --git a/lib/Gruntmaster/Page/Generic.pm b/lib/Gruntmaster/Page/Generic.pm index 2096919..cb8dd67 100644 --- a/lib/Gruntmaster/Page/Generic.pm +++ b/lib/Gruntmaster/Page/Generic.pm @@ -135,7 +135,7 @@ thing { $_->{owner_name} = $_->{rs}->owner->name; $_->{cansubmit} = $env->{'gruntmaster.contest'} ? time < db($env)->contest($env->{'gruntmaster.contest'})->stop : 1; eval { - db($env)->open->create({ + db($env)->opens->create({ contest => $env->{'gruntmaster.contest'}, problem => $_->{id}, owner => $env->{REMOTE_USER},