Commit: fdb6fb6b6605a1ccfaf1aadba5c3af284206e91b

Author: Rob Marscher | Date: 2011-06-03 19:59:30 -0400
Removing 'paths' from the default handler caused errors. Put it back.
diff --git a/libraries/lithium/net/http/Media.php b/libraries/lithium/net/http/Media.php index df740a1..d53519d 100644 --- a/libraries/lithium/net/http/Media.php +++ b/libraries/lithium/net/http/Media.php @@ -795,9 +795,11 @@ class Media extends \lithium\core\StaticObject { 'encode' => false, 'decode' => false, 'cast' => false, - 'template' => '{:library}/views/{:controller}/{:template}.{:type}.php', - 'layout' => '{:library}/views/layouts/{:layout}.{:type}.php', - 'element' => '{:library}/views/elements/{:template}.{:type}.php' + 'paths' => array( + 'template' => '{:library}/views/{:controller}/{:template}.{:type}.php', + 'layout' => '{:library}/views/layouts/{:layout}.{:type}.php', + 'element' => '{:library}/views/elements/{:template}.{:type}.php' + ) ), 'html' => array(), 'json' => array('cast' => true, 'encode' => 'json_encode', 'decode' => function($data) {