Fix a bug in that last commit where I was treating resource_type as a function.

This commit is contained in:
Bharat Mediratta
2010-09-18 16:34:48 -07:00
parent 77ec061663
commit 6bb75f623e
+1 -1
View File
@@ -62,7 +62,7 @@ class G2_Controller extends Controller {
if (!$item->loaded()) {
throw new Kohana_404_Exception();
}
$resource_type = $g2_map->resource_type();
$resource_type = $g2_map->resource_type;
} else {
$item = item::root();
$resource_type = "album";