summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/intentioncloud/Controller/Cloud.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/intentioncloud/Controller/Cloud.pm b/lib/intentioncloud/Controller/Cloud.pm
index 7445441..49d42eb 100644
--- a/lib/intentioncloud/Controller/Cloud.pm
+++ b/lib/intentioncloud/Controller/Cloud.pm
@@ -28,7 +28,7 @@ sub random : Local {
     $c->stash->{ template } = 'cloud/random.tt';
 
     $c->stash( cloud => $c->model( 'DB::Search' )
-            ->find( {}, { order_by => [ 'random()' ] } ) );
+            ->find( {}, { order_by => [ 'rand()' ] } ) );
 }
 
 1;