summaryrefslogtreecommitdiffstats
path: root/models/Kdrama.php
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-07-09 23:26:27 -0400
committerMichael Francis <edude03@gmail.com>2011-07-09 23:26:27 -0400
commita8bda745c77c38ce7c3bcf719d6d821cd35766f3 (patch)
treef0cf4be97dafcf235f3ff9f92c5b3989b2cc58ef /models/Kdrama.php
parent29b78de55356df916dc44c014e86a777fa23cc28 (diff)
downloadotakuhub-a8bda745c77c38ce7c3bcf719d6d821cd35766f3.tar.xz
Leverage previously defined Mongo Connection
Diffstat (limited to 'models/Kdrama.php')
-rw-r--r--models/Kdrama.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/Kdrama.php b/models/Kdrama.php
index 9d3ddf7..f1eee22 100644
--- a/models/Kdrama.php
+++ b/models/Kdrama.php
@@ -3,7 +3,7 @@
namespace app\models;
class Kdrama extends \lithium\data\Model {
- protected $_meta = array('key' => '_id', 'source' => 'kdrama');
+ protected $_meta = array('key' => '_id', 'source' => 'kdrama', 'connection' => 'mongo');
public static function search($query, $page = 1, $by = 'title')
{